Class BufferWrapperInternal

A buffer object wrapper.

Hierarchy (view full)

Properties

Methods

Constructors

Properties

buffer: ArrayBufferLike

Buffer that is being read.

nextByte: number = 0

Next byte to read.

viewer: DataView

Data view for the buffer.

Methods

  • Resize the ArrayBuffer and increment the next byte.

    Parameters

    • by: number

      The amount of bytes to increment by

    Returns number

    The byte that now has by bytes to write to.

Constructors