()
| 16 | const ignoreMaxSizeTests = true; |
| 17 | |
| 18 | function init() { |
| 19 | if (testBytes === undefined) { |
| 20 | testBytes = new Uint8Array(N); |
| 21 | for (let i = 0; i < N; i++) { |
| 22 | testBytes[i] = "a".charCodeAt(0) + (i % 26); |
| 23 | } |
| 24 | const decoder = new TextDecoder(); |
| 25 | testString = decoder.decode(testBytes); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | function check(buf: Buffer, s: string) { |
| 30 | const bytes = buf.bytes(); |
no outgoing calls
no test coverage detected