Zlib Transform (BOB)
A zlib transform for the BOB streaming protocol.
Usage
Note: This currently requires the --expose-internals
Node.js flag & Node.js built from master
.
const ZlibTransform = options mode
Implements a BOB transform for doing zlib compression / decompression.
Example
const zlib = const ZlibTransform = const transform = {} zlibconstantsGZIPconst source = const sink = sink
See test-basic for a good working example.