@glitchybyte/dash
    Preparing search index...

    Class GByteBufferReader

    Byte buffer reader.

    All storage is treated as little-endian.

    Index

    Constructors

    Accessors

    Methods

    • Returns true if we have read all data.

      Returns boolean

    • Reads count bytes from the buffer and advances the cursor.

      Parameters

      • count: number

        Count of bytes to read.

      Returns Uint8Array

    • Reads a Float8 from the buffer and advances the cursor.

      Returns number

    • Reads a Float16 from the buffer and advances the cursor.

      Returns number

    • Reads a UInt16 from the buffer and advances the cursor.

      Returns number

    • Reads a UInt32 from the buffer and advances the cursor.

      Returns number

    • Reads a UInt8 from the buffer and advances the cursor.

      Returns number

    • Returns a string representation of the contents.

      Could be huge! Mainly for debugging.

      Returns string