D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs19
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
sigstore
/
dist
/
util
/
Filename :
stream.d.ts
back
Copy
/// <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; }