/** * A wrapper around byte buffers to perform cursor reading on bytes * of different sizes * */ export declare class CursorBuffer { private readonly dataView; private readonly littleEndian; private bytePositon; constructor(typedArray: Uint8Array, littleEndian?: boolean); /** * Reads 1 byte * */ read8(): number; /** * Reads 4 bytes * */ read32(): number; /** * Skip/move the internal reader pointers x bytes * * A negative value can be passed to skip backwards */ skipXBytes(x: number): void; readXBytes(x: number): Uint8Array; readRemainingBytes(): Uint8Array; get bytesLeft(): number; } export default CursorBuffer;