av-bitstream

Simple bit writer/reader

1 unstable release

0.1.0 Sep 9, 2018

#82 in Multimedia

Download history 2/week @ 2018-10-04 12/week @ 2018-10-11 4/week @ 2018-10-18 2/week @ 2018-10-25 10/week @ 2018-11-01 4/week @ 2018-11-08 4/week @ 2018-11-15 4/week @ 2018-11-22 5/week @ 2018-11-29 4/week @ 2018-12-06 3/week @ 2018-12-13 6/week @ 2018-12-20 1/week @ 2018-12-27 1/week @ 2019-01-03 4/week @ 2019-01-10

2 downloads per month

MIT license

39KB
1K SLoC

Bitstream utilities

Read/Write values from/to a stream of bits

Implementation status

  • Fixed-size bitreader
  • Fixed-size bitwriter
  • Codebook-style variable-size bits-to-symbol reader
  • Codebook-style variable-size symbol-to-bits writer
  • Numeric-type to-bytes reader
  • Numeric-type to-bytes writer

Todo

  • Documentation
  • Basic tests
  • Benchmarks

License

MIT

Dependencies

~56KB