Sha256: b45abf0de1de73e54551ebc8b64fb320ebb8a09e6479d3884b952be2fa3fea3b
Contents?: true
Size: 369 Bytes
Versions: 57
Compression:
Stored size: 369 Bytes
Contents
# block-stream A stream of blocks. Write data into it, and it'll output data in buffer blocks the size you specify, padding with zeroes if necessary. ```javascript var block = new BlockStream(512) fs.createReadStream("some-file").pipe(block) block.pipe(fs.createWriteStream("block-file")) ``` When `.end()` or `.flush()` is called, it'll pad the block with zeroes.
Version data entries
57 entries across 51 versions & 20 rubygems