taglib-ts
    Preparing search index...

    Parser for Xing and VBRI VBR headers found inside the first MPEG frame.

    Index

    Constructors

    • Constructs an XingHeader by attempting to parse a Xing/Info or VBRI header from the first frame's data.

      Parameters

      • data: ByteVector

        The raw bytes of the first MPEG audio frame (header + side information + payload).

      Returns XingHeader

    Accessors

    • get isValid(): boolean

      Gets whether this is a valid, usable VBR header (type is not Invalid and both totalFrames and totalSize are non-zero).

      Returns boolean

    • get totalFrames(): number

      Gets the total number of MPEG frames in the stream.

      Returns number

    • get totalSize(): number

      Gets the total byte size of the audio data.

      Returns number