Class Unpackr
Hierarchy
- Unpackr (View Summary)
Index
Constructors
Methods
Methods
decode
- decode(
messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>,
options?: UnpackOptions,
): any Parameters
- messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>
Optional
options: UnpackOptions
Returns any
unpack
- unpack(
messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>,
options?: UnpackOptions,
): any Parameters
- messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>
Optional
options: UnpackOptions
Returns any
unpackMultiple
- unpackMultiple(
messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>,
): any[] Parameters
- messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>
Returns any[]
- unpackMultiple(
messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>,
forEach: (value: any, start?: number, end?: number) => any,
): void Parameters
- messagePack: Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>
- forEach: (value: any, start?: number, end?: number) => any
Returns void