PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
js-git
/
doc
/
lib
# Inflate Stream This module implements zlib inflate by hand with a special streaming interface. This is used in js-git to inflate git object fragments in a pack-stream. ## inflateStream(onEmit, onUnused) -> onInput ```js var onInput = inflateStream(onEmit, onUnused); someStream.on("data", function (chunk) { onInput(null, chunk); }); function onEmit(err, out) { if (err) throw err; // out is a chunk of inflated data } function onUnused(chunks) { // chunks is an array of extra buffers or buffer slices. } ```
[-] deflate.md
[edit]
[+]
..
[-] object-codec.md
[edit]
[-] inflate-stream.md
[edit]
[-] pack-codec.md
[edit]
[-] config-codec.md
[edit]
[-] inflate.md
[edit]