(bytes: Uint8Array)
| 12 | } |
| 13 | |
| 14 | const sshString = (bytes: Uint8Array): Uint8Array => { |
| 15 | const out = new Uint8Array(4 + bytes.length); |
| 16 | new DataView(out.buffer).setUint32(0, bytes.length); |
| 17 | out.set(bytes, 4); |
| 18 | return out; |
| 19 | }; |
| 20 | |
| 21 | const toBase64 = (bytes: Uint8Array): string => { |
| 22 | let binary = ""; |
no test coverage detected