Amazon Vinyl
    Preparing search index...

    Class BufferReader

    Index
    position: number = 0
    • Asserts that at least size bytes are remaining.

      Parameters

      • size: number

      Returns void

    • Reads from the current position into a sliced array buffer of the given size.

      Parameters

      • count: number

      Returns ArrayBuffer

    • Reads the next Float32 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Float64 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Int16 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Int32 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Int64 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns bigint

    • Reads the given number of characters into a byte string.

      Parameters

      • length: number

      Returns string

    • Reads the next Uint16 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Uint32 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns number

    • Reads the next Uint64 value.

      Parameters

      • OptionallittleEndian: boolean

        If false or undefined, a big-endian value should be read.

      Returns bigint

    • Reads the given number of characters into a UTF-16 string.

      Parameters

      • length: number

      Returns string