block-stream

WebJar for block-stream

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

block-stream
Last Version

Last Version

0.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

block-stream
WebJar for block-stream
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/isaacs/block-stream

Download block-stream

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/block-stream/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>block-stream</artifactId>
    <version>0.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/block-stream/
implementation 'org.webjars.npm:block-stream:0.0.9'
// https://jarcasting.com/artifacts/org.webjars.npm/block-stream/
implementation ("org.webjars.npm:block-stream:0.0.9")
'org.webjars.npm:block-stream:jar:0.0.9'
<dependency org="org.webjars.npm" name="block-stream" rev="0.0.9">
  <artifact name="block-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='block-stream', version='0.0.9')
)
libraryDependencies += "org.webjars.npm" % "block-stream" % "0.0.9"
[org.webjars.npm/block-stream "0.0.9"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : inherits jar [2.0.0,2.1)

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.0.9