function brotliCompressSync brotliCompressSync(buf: InputType,options?: BrotliOptions,): Buffer Compress a chunk of data with BrotliCompress. Parameters buf: InputType optional options: BrotliOptions Return Type Buffer