block-read-stream
v1.0.0
Published
Read a file in blocks of a specified size
Downloads
3
Maintainers
Readme
BlockReadStream
Read a file in blocks of a specified size
Install via npm
$ npm install --save block-read-stream
Usage
var BlockReadStream = require( 'block-read-stream' )
var readStream = new BlockReadStream({
path: 'somefile.img',
flags: 'r',
blockSize: 256 * 1024, // 256KB
})