Directus / @directus/memory / utils / compress
Function: compress() ​
compress(
input
):Promise
<Uint8Array
<ArrayBufferLike
>>
Defined in: packages/memory/src/utils/compress.ts:14
Gzip compress a given input Uint8Array
Parameters ​
input ​
Uint8Array
Uint8Array to compress
Returns ​
Promise
<Uint8Array
<ArrayBufferLike
>>
Compressed Uint8Array