Decodes a Uint8Array into a UTF-8 string.
Uint8Array
The binary data buffer to decode.
The decoded UTF-8 string.
const text = fromBytes(new Uint8Array([104, 101, 108, 108, 111])); // "hello" Copy
const text = fromBytes(new Uint8Array([104, 101, 108, 108, 111])); // "hello"
Decodes a
Uint8Arrayinto a UTF-8 string.