(out: number[], byte: number, maxObjectBytes: number)
| 177 | |
| 178 | // Inflate raw DEFLATE at buf[pos..], return {out, endPos} |
| 179 | function pushInflated(out: number[], byte: number, maxObjectBytes: number): void { |
| 180 | if (out.length + 1 > maxObjectBytes) { |
| 181 | throw repositoryTooLarge(`inflated object exceeds ${maxObjectBytes} bytes`); |
| 182 | } |
| 183 | out.push(byte); |
| 184 | } |
| 185 | |
| 186 | function inflateRaw( |
| 187 | buf: Uint8Array, |
no test coverage detected