MCPcopy Create free account
hub / github.com/cloudflare/agents / gunzipBytes

Function gunzipBytes

packages/shell/src/extras.ts:168–170  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

166}
167
168export async function gunzipBytes(bytes: Uint8Array): Promise<Uint8Array> {
169 return transformBytes(bytes, new DecompressionStream("gzip"));
170}
171
172export function buildTar(entries: Array<TarInputEntry>): Uint8Array {
173 const chunks: Uint8Array[] = [];

Callers 1

decompressFileMethod · 0.90

Calls 1

transformBytesFunction · 0.85

Tested by

no test coverage detected