nbs.js - v6.1.0
    Preparing search index...

    Class BufferReaderInternal

    Represents an ArrayBuffer reader.

    Hierarchy (View Summary)

    Index

    Properties

    buffer: ArrayBufferLike

    Buffer that is being read.

    nextByte: number = 0

    Next byte to read.

    viewer: DataView

    Data view for the buffer.

    Methods

    • Read the next unsigned byte.

      Returns number

    • 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