(bytes: Uint8Array)
| 56 | * @returns The decoded UTF-8 string. |
| 57 | */ |
| 58 | export function bytesToUtf8String(bytes: Uint8Array): string { |
| 59 | return new TextDecoder().decode(bytes); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Checks whether a Uint8Array contains the UTF-8 byte sequence of a given |
no outgoing calls
no test coverage detected