gunzipIfCompressed
gunzipIfCompressed(
bytes):Promise<Uint8Array<ArrayBufferLike>>
Defined in: packages/pgwasm/src/tar/gzip.ts:26
Decompress when the bytes are gzip (by magic number), otherwise return them unchanged.
Parameters
Section titled “Parameters”Uint8Array
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>