Decodes a Uint8Array as strict UTF-8. Returns null if bytes do not form a valid UTF-8 sequence.
decodeUtf8(new Uint8Array([0x48,0x65,0x6c,0x6c,0x6f])) → "Hello" Copy
decodeUtf8(new Uint8Array([0x48,0x65,0x6c,0x6c,0x6f])) → "Hello"
Decodes a Uint8Array as strict UTF-8. Returns null if bytes do not form a valid UTF-8 sequence.