Class BitStream

Hierarchy

  • BitStream

Constructors

Properties

bitsLeft: number

The number of bits left in the stream

byteIndex: number

Get/set the current index in bytes

index: number

Get/set the current index in bits

length: number

Get the length of the stream in bits

view: BitView

Underlying BitView

from: ((array: Uint8Array) => BitStream)

Type declaration

Methods

  • Parameters

    • Optional maxLength: number

    Returns string

  • Parameters

    • bits: number

    Returns number

  • Parameters

    • bits: number

    Returns number

  • Parameters

    • bits: number

    Returns number

  • Parameters

    • bits: number
    • signed: boolean

    Returns number

  • Parameters

    • Optional maxLength: number

    Returns string

  • Parameters

    • str: string
    • Optional maxLength: number

    Returns string

  • Parameters

    • value: number
    • bits: number

    Returns void

  • Parameters

    • str: string
    • Optional maxLength: number

    Returns string

Generated using TypeDoc