5 releases

new 0.2.1 Nov 18, 2024
0.2.0 Aug 27, 2022
0.1.2 Jun 29, 2020
0.1.1 Mar 9, 2020
0.1.0 Sep 9, 2018

#245 in Video

Download history 82/week @ 2024-07-29 92/week @ 2024-08-05 99/week @ 2024-08-12 78/week @ 2024-08-19 100/week @ 2024-08-26 73/week @ 2024-09-02 67/week @ 2024-09-09 98/week @ 2024-09-16 116/week @ 2024-09-23 131/week @ 2024-09-30 134/week @ 2024-10-07 132/week @ 2024-10-14 166/week @ 2024-10-21 156/week @ 2024-10-28 200/week @ 2024-11-04 115/week @ 2024-11-11

657 downloads per month
Used in 4 crates (via av-ivf)

MIT license

51KB
1.5K 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


lib.rs:

Bytes and bitstream reading/writing functionality.

Dependencies

~150KB