Skip to content

dominictarr/pull-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pull-header

read a fixed length binary header from a pull-stream.

pull(
  binarySource,
  header(196, function (data) {
    //this is a 196 byte header from the start of the stream.
    console.log('head:', data)
  }),
  pull.drain(function (chunk) {
    console.log('body chucnk', chunk)
  }))

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published