Update gzip.md (#5041)

typo
This commit is contained in:
Eric Bidelman
2023-09-11 21:47:35 -07:00
committed by GitHub
parent 03b8e9d5cf
commit 4992839232

View File

@@ -6,7 +6,7 @@ Use `Bun.gzipSync()` to compress a `Uint8Array` with gzip.
```ts
const data = Buffer.from("Hello, world!");
const compressed = Bun.gzipSync("Hello, world!");
const compressed = Bun.gzipSync(data);
// => Uint8Array
const decompressed = Bun.gunzipSync(compressed);