company logo

MP3Header :: version - MP3 header version

The ID3 header version is either 3 (ID3v2.3) or 4 (ID3v2.4).

Notes:

Supported tags differ between version 3 and version 4. Changes are listed at http://www.id3.org/id3v2.4.0-changes.

Return value:  ID3 header version ( int32  )

The ID3 header version is a number greater than 0 and less than 255.

Implementation details

int32 MP3Header  :: version (  )

The function returns the current header version number. When the header is invalid, the function throws an exception.