function decode
decode(uint8: Uint8Array): ValueTypeDecode a value from the MessagePack binary format.
Examples
Example 1
Example 1
import { decode } from "@std/msgpack/decode"; const encoded = Uint8Array.of(1, 2, 3) console.log(decode(encoded))
Parameters
uint8: Uint8Array