- Preparing search index...
- The search index is not available
CloudVision
- decode(buffer: ArrayBuffer | ArrayLike<number>, options?: DecodeOptions): unknown
-
Parameters
-
buffer: ArrayBuffer | ArrayLike<number>
-
options: DecodeOptions = defaultDecodeOptions
Returns unknown
It decodes a MessagePack-encoded buffer.
This is a synchronous decoding function. See other variants for asynchronous decoding:
decodeAsync()
,decodeStream()
, anddecodeArrayStream()