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
optimacms-0.1.61 spec/dummy/node_modules/block-stream/README.md
disco_app-0.18.0 test/dummy/node_modules/block-stream/README.md
disco_app-0.18.2 test/dummy/node_modules/block-stream/README.md
tang-0.2.1 spec/tang_app/node_modules/block-stream/README.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/block-stream/README.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/block-stream/README.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/block-stream/README.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/block-stream/README.md
tang-0.2.0 spec/tang_app/node_modules/block-stream/README.md
tang-0.1.0 spec/tang_app/node_modules/block-stream/README.md
tang-0.0.9 spec/tang_app/node_modules/block-stream/README.md
enju_library-0.3.8 spec/dummy/node_modules/block-stream/README.md
ilog-0.4.1 node_modules/block-stream/README.md
ilog-0.4.0 node_modules/block-stream/README.md
ilog-0.3.3 node_modules/block-stream/README.md
jester-data-8.0.0 node_modules/block-stream/README.md
ezii-os-5.2.1 node_modules/block-stream/README.md
ezii-os-2.0.1 node_modules/block-stream/README.md
ezii-os-1.1.0 node_modules/block-stream/README.md
ezii-os-1.0.0 node_modules/block-stream/README.md