(bytes: Uint8Array)
| 48 | >(); |
| 49 | |
| 50 | function hex(bytes: Uint8Array): string { |
| 51 | let s = ""; |
| 52 | for (let i = 0; i < bytes.byteLength; i++) s += bytes[i].toString(16).padStart(2, "0"); |
| 53 | return s; |
| 54 | } |
| 55 | |
| 56 | return { |
| 57 | async push(input) { |
no test coverage detected