dignifiedquire / pull-length-prefixed

Streaming length prefixed buffers with pull-streams
MIT License
8 stars 18 forks source link

fix: sync streams and empty streams #22

Closed jacobheun closed 5 years ago

jacobheun commented 5 years ago

This is a rebasing of #19 and #20, and replaces those.

I also added an additional commit to fix linting.

This should be good to go.

codecov-io commented 5 years ago

Codecov Report

Merging #22 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   94.73%   94.73%           
=======================================
  Files           3        3           
  Lines          95      114   +19     
=======================================
+ Hits           90      108   +18     
- Misses          5        6    +1
Impacted Files Coverage Δ
src/encode.js 88.23% <100%> (+2.52%) :arrow_up:
src/decode.js 97.33% <100%> (-1.06%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update accb16b...1dde628. Read the comment docs.

dignifiedquire commented 5 years ago

Thank you