Sha256: bb76e3f94734d080bca20ff0648fb4292025861011a84b2f7f395699fd1477b9
Contents?: true
Size: 687 Bytes
Versions: 33
Compression:
Stored size: 687 Bytes
Contents
/// <reference types="node" /> export declare class StreamError extends Error { } export declare class ByteStream { private static BLOCK_SIZE; private buf; private view; private start; constructor(buffer?: ArrayBuffer); get buffer(): Buffer; get length(): number; get position(): number; seek(position: number): void; slice(start: number, len: number): Buffer; appendChar(char: number): void; appendUint16(num: number): void; appendUint24(num: number): void; appendView(view: Uint8Array): void; getBlock(size: number): Buffer; getUint8(): number; getUint16(): number; private ensureCapacity; private realloc; }
Version data entries
33 entries across 33 versions & 1 rubygems