Function strFromU8
- str
From (dat, latin1?): stringU8 Parameters
- dat: Uint8Array
The data to decode to string
Optional
latin1: booleanWhether or not to interpret the data as Latin-1. This should not need to be true unless encoding to binary string.
Returns string
The original UTF-8/Latin-1 string
- dat: Uint8Array
Converts a Uint8Array to a string