/ never-odd-or-even / back / node_modules / block-stream /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]README.md13 years ago369  
[   ]LICENCE13 years ago1.3K 
[   ]block-stream.js12 years ago6.4K 
[   ]LICENSE10 years ago765  
[   ]package.json2 years ago1.5K 
README.md

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.

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.

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80