Function compressSync
- compressSync(data: Uint8Array<ArrayBufferLike>, opts?: GzipOptions): Uint8Array
Parameters
- data: Uint8Array<ArrayBufferLike>
The data to compress
Optional
opts: GzipOptionsThe compression options
Returns Uint8Array
The gzipped version of the data
- data: Uint8Array<ArrayBufferLike>
Compresses data with GZIP