Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs11
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
block-stream
/
File Content:
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. ```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.
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
LICENCE
1318 bytes
0644
LICENSE
765 bytes
0644
README.md
369 bytes
0644
block-stream.js
6555 bytes
0644
package.json
1485 bytes
0644
N4ST4R_ID | Naxtarrr