(arr: Uint8Array)
| 50 | * @returns The corresponding string. |
| 51 | */ |
| 52 | export function Uint8ArrayToString(arr: Uint8Array): string { |
| 53 | const ret = []; |
| 54 | for (const ch of arr) { |
| 55 | ret.push(String.fromCharCode(ch)); |
| 56 | } |
| 57 | return ret.join(""); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Internal assert helper |
no test coverage detected
searching dependent graphs…