1 Replies - 117 Views - Last Post: 15 February 2019 - 10:01 AM Rate Topic: -----

#1 N3ilSi3gfri3d   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 13-February 19

ID3v2.4 Header Flags

Posted 15 February 2019 - 09:44 AM

The Flags are one byte (8 bits) but I have yet to find a bit that's set anywhere. I'm after the fourth bit which when set means a footer is present. Here is my code so far:

 Dim fsFileStream As New FileStream(strFullName, FileMode.Open, FileAccess.Read)

        ' Read ID3v2 Header
        fsFileStream.Seek(0, SeekOrigin.Begin)
        Dim bytID3v2ID(2) As Byte
        fsFileStream.Read(bytID3v2ID, 0, 3)
        If ASCIIEncoding.ASCII.GetString(bytID3v2ID) = "ID3" Then
            Dim bytID3v2Version(1) As Byte
            fsFileStream.Read(bytID3v2Version, 0, 2)
            Dim strID3v2MajorNumber = bytID3v2Version(0)
            Dim strID3v2RevisionNumber = bytID3v2Version(1)
            Dim Flags as byte 
        End If

        fsFileStream.Close()


Is This A Good Question/Topic? 0
  • +

Replies To: ID3v2.4 Header Flags

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14854
  • View blog
  • Posts: 59,272
  • Joined: 12-June 08

Re: ID3v2.4 Header Flags

Posted 15 February 2019 - 10:01 AM

I am not following. What is your question?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1