#byte-stream #no-alloc #bit #irox #read #std #codec

no-std irox-bits

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams

8 releases

0.2.1 Oct 30, 2024
0.2.0 Oct 24, 2024
0.1.5 Aug 1, 2024
0.1.4 Jul 19, 2024
0.1.0 Apr 21, 2024

#512 in Parser implementations

Download history 205/week @ 2024-07-18 72/week @ 2024-07-25 217/week @ 2024-08-01 70/week @ 2024-08-08 52/week @ 2024-08-15 53/week @ 2024-08-22 102/week @ 2024-08-29 70/week @ 2024-09-05 93/week @ 2024-09-12 87/week @ 2024-09-19 98/week @ 2024-09-26 33/week @ 2024-10-03 26/week @ 2024-10-10 51/week @ 2024-10-17 319/week @ 2024-10-24 91/week @ 2024-10-31

494 downloads per month
Used in 32 crates (12 directly)

MIT/Apache

74KB
1.5K SLoC

IROX-BITS

Bits & Bobs. No-std/No-alloc bit/byte manipulation of streams.

The main traits provided by this crate are Bits (analogous to std::io::Read), and MutBits (analogous to std::io::Write).

Also included are multi-OS wrappers SeekRead and SeekWrite, and a more organic UTF-8 encoding/decoding setup for chars.

This is an Irox foundational crate, it has no external dependencies, is no-std/no-alloc by default (but can be augmented by using the std and alloc features), and many other irox crates extend and augment the functionality contained herein. irox_structs is notable as it provides a derivable way to encode/decode structs as a sequence of bytes.

No-STD support:

  • The core traits Bits and MutBits and the majority of the functionality of this crate are available no-std/no-alloc.

Features:

No runtime deps

Features