chnk
Split a binary data stream into equal size chunks
Install
npm install chnk
Usage
chnk(<size>)
- returns a transform stream that reads from a stream of variable length buffers and writes a stream of fixed length chunks of size
bytes;
Example
var chnk = ;processstdin;