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

Version Path
ezii-os-0.0.0.1.0 node_modules/block-stream/README.md
ezii-os-0.0.0.0.1 node_modules/block-stream/README.md
optimacms-0.4.3 spec/dummy/node_modules/block-stream/README.md
optimacms-0.4.2 spec/dummy/node_modules/block-stream/README.md
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/block-stream/README.md
lux_assets-0.2.11 ./node_modules/block-stream/README.md
lux_assets-0.2.9 ./node_modules/block-stream/README.md
lux_assets-0.2.4 ./node_modules/block-stream/README.md
lux_assets-0.2.2 ./node_modules/block-stream/README.md
lux_assets-0.2.1 ./node_modules/block-stream/README.md
locomotivecms-3.4.0 app/javascript/node_modules/block-stream/README.md
cortex-0.1.3 spec/dummy/node_modules/block-stream/README.md
affiliator-0.2.1 node_modules/fsevents/node_modules/block-stream/README.md
lanes-0.8.0 node_modules/fsevents/node_modules/block-stream/README.md
lanes-0.8.0 node_modules/block-stream/README.md
node-compiler-0.9.1 vendor/node/deps/npm/node_modules/tar/node_modules/block-stream/README.md
node-compiler-0.9.0 vendor/node-v7.2.1/deps/npm/node_modules/tar/node_modules/block-stream/README.md
node-compiler-0.8.0 vendor/node-v7.2.0/deps/npm/node_modules/tar/node_modules/block-stream/README.md
node-compiler-0.7.0 vendor/node-v6.9.1/deps/npm/node_modules/tar/node_modules/block-stream/README.md
node-compiler-0.7.0 vendor/node-v7.1.0/deps/npm/node_modules/tar/node_modules/block-stream/README.md