(bytes: Uint8Array)
| 162 | } |
| 163 | |
| 164 | export async function gzipBytes(bytes: Uint8Array): Promise<Uint8Array> { |
| 165 | return transformBytes(bytes, new CompressionStream("gzip")); |
| 166 | } |
| 167 | |
| 168 | export async function gunzipBytes(bytes: Uint8Array): Promise<Uint8Array> { |
| 169 | return transformBytes(bytes, new DecompressionStream("gzip")); |
no test coverage detected