compressSync
compressSync(
data,options):Uint8Array
Defined in: next/api.d.ts:312
Compress data in options.format, as compress does, on the
calling thread.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Uint8Array
The compressed data.
Throws
Section titled “Throws”An error with an ErrorCode as code.