5 releases

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

#89 in Video

Download history 86/week @ 2024-08-17 93/week @ 2024-08-24 88/week @ 2024-08-31 61/week @ 2024-09-07 107/week @ 2024-09-14 98/week @ 2024-09-21 123/week @ 2024-09-28 140/week @ 2024-10-05 130/week @ 2024-10-12 155/week @ 2024-10-19 162/week @ 2024-10-26 211/week @ 2024-11-02 118/week @ 2024-11-09 303/week @ 2024-11-16 226/week @ 2024-11-23 204/week @ 2024-11-30

889 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