Function: valueToUint8Array()
valueToUint8Array(value
): Uint8Array
Encodes a value or an object with the help of JSON.stringify to an Uint8Array.
Parameters
• value: any
Value or object to encode
Returns
Uint8Array
The Uint8Array encoded value
Defined in
ari/lib/utils/json.d.ts:15