Class Decoder
Index
Constructors
Methods
Methods
decode
- decode(messagePack, options?): any
Parameters
- messagePack: Uint8Array | Buffer
Optional
options: UnpackOptions
Returns any
unpack
- unpack(messagePack, options?): any
Parameters
- messagePack: Uint8Array | Buffer
Optional
options: UnpackOptions
Returns any
unpackMultiple
- unpack
Multiple (messagePack): any[] Parameters
- messagePack: Uint8Array | Buffer
Returns any[]
- unpack
Multiple (messagePack, forEach): void Parameters
- messagePack: Uint8Array | Buffer
- forEach: ((value: any, start?: number, end?: number) => any)
- (value, start?, end?): any
Parameters
- value: any
Optional
start: numberOptional
end: number
Returns any
Returns void