Function zlibSync
- zlibSync(data: Uint8Array<ArrayBufferLike>, opts?: ZlibOptions): Uint8Array
Parameters
- data: Uint8Array<ArrayBufferLike>
The data to compress
Optional
opts: ZlibOptionsThe compression options
Returns Uint8Array
The zlib-compressed version of the data
- data: Uint8Array<ArrayBufferLike>
Compress data with Zlib