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

#87 in Video

Download history 83/week @ 2024-08-01 93/week @ 2024-08-08 104/week @ 2024-08-15 82/week @ 2024-08-22 91/week @ 2024-08-29 70/week @ 2024-09-05 91/week @ 2024-09-12 96/week @ 2024-09-19 109/week @ 2024-09-26 148/week @ 2024-10-03 144/week @ 2024-10-10 138/week @ 2024-10-17 150/week @ 2024-10-24 195/week @ 2024-10-31 159/week @ 2024-11-07 255/week @ 2024-11-14

789 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