(c: string, bytes: number)
| 6 | import { Buffer } from "./buffer.ts"; |
| 7 | |
| 8 | function repeat(c: string, bytes: number): Uint8Array { |
| 9 | assertEquals(c.length, 1); |
| 10 | const ui8 = new Uint8Array(bytes); |
| 11 | ui8.fill(c.charCodeAt(0)); |
| 12 | return ui8; |
| 13 | } |
| 14 | |
| 15 | Deno.test("[streams] readerFromStreamReader()", async function () { |
| 16 | const chunks: string[] = ["hello", "deno", "land"]; |
no test coverage detected