Function strFromU8
- strFromU8(dat: Uint8Array<ArrayBufferLike>, latin1?: boolean): string
Parameters
- dat: Uint8Array<ArrayBufferLike>
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<ArrayBufferLike>
Converts a Uint8Array to a string