tableflip/pull-skip

Name: pull-skip

Owner: TABLEFLIP

Description: Skip the first n bytes of your pull stream

Created: 2017-02-09 09:21:29.0

Updated: 2017-02-09 09:22:05.0

Pushed: 2017-05-31 09:08:39.0

Homepage: null

Size: 4

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

pull-skip Build Status dependencies Status

Skip the first n bytes of your pull stream.

Example
t pull = require('pull-stream')
t skipBytes = require('pull-skip')

t zeros = (n) => Buffer.alloc(n)
t ones = (n) => Buffer.alloc(n, 1)

(
 stream in bytes <Buffer 00 00 00 01 01 01>
ll.values([Buffer.concat([zeros(3), ones(3)])]),
ipBytes(2),
ll.collect((err, data) => {
if (err) throw err
console.log(Buffer.concat(data)) // <Buffer 00 01 01 01>



A (?°?°???TABLEFLIP side project.

js-standard-style


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.