Creates a new Id3v2Header with default values (version 4, no flags, zero size).
Static ReadonlyfileThe file identifier "ID3".
Static ReadonlysizeHeader is always 10 bytes.
Total tag size including the header and optional footer.
Gets whether the experimental indicator flag is set.
Gets whether an extended header is present after the main header.
Gets whether a footer is present at the end of the tag (v2.4 only).
Gets the ID3v2 major version number (2, 3, or 4).
Sets the ID3v2 major version number.
The major version (2, 3, or 4).
Gets the ID3v2 revision number (typically 0).
Gets the size of the tag body in bytes (excluding the header and footer).
Sets the size of the tag body in bytes.
The tag body size.
Gets whether the tag body has been unsynchronised.
Render the header to a 10-byte ByteVector. Always renders as the current major version. Clears extended header, footer, and unsynchronisation flags on write (matching C++ behavior).
StaticparseParse a 10-byte ByteVector into an Id3v2Header. Returns null if the data is invalid.
ID3v2 tag header (10 bytes).
Structure (from the ID3v2.4.0 specification, section 3.1): Bytes 0-2: File identifier "ID3" Byte 3: Major version (2, 3, or 4) Byte 4: Revision number Byte 5: Flags Bit 7 (0x80): Unsynchronisation Bit 6 (0x40): Extended header Bit 5 (0x20): Experimental indicator Bit 4 (0x10): Footer present (v2.4 only) Bytes 6-9: Tag size as synchsafe integer (excludes header and footer)