Converts a byte array to a string using UTF-8 decoding.
The byte array to decode.
The decoded string.
bytesToString(new Uint8Array([72, 101, 108, 108, 111])) // Returns 'Hello' Copy
bytesToString(new Uint8Array([72, 101, 108, 108, 111])) // Returns 'Hello'
Converts a byte array to a string using UTF-8 decoding.