How do you define the flush method when compressing a buffer using Node.js's built-in zlib module? Specifically, I need Z_SYNC_FLUSH. There doesn't seem to be a place in the options to set this flag.
问问题
561 次
How do you define the flush method when compressing a buffer using Node.js's built-in zlib module? Specifically, I need Z_SYNC_FLUSH. There doesn't seem to be a place in the options to set this flag.