zlib.brotliCompressSync(buffer[, options])
-
buffer
<Buffer> | <TypedArray> | <DataView> | <ArrayBuffer> | <string> -
options
<brotli options>
使用 BrotliCompress
压缩数据块。
¥Compress a chunk of data with BrotliCompress
.
buffer
<Buffer> | <TypedArray> | <DataView> | <ArrayBuffer> | <string>
options
<brotli options>
使用 BrotliCompress
压缩数据块。
¥Compress a chunk of data with BrotliCompress
.