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

no-std irox-bits

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

9 releases

new 0.3.0 Dec 14, 2024
0.2.1 Oct 30, 2024
0.1.5 Aug 1, 2024
0.1.4 Jul 19, 2024
0.1.0 Apr 21, 2024

#1287 in Parser implementations

Download history 59/week @ 2024-08-23 83/week @ 2024-08-30 72/week @ 2024-09-06 106/week @ 2024-09-13 101/week @ 2024-09-20 68/week @ 2024-09-27 33/week @ 2024-10-04 43/week @ 2024-10-11 82/week @ 2024-10-18 291/week @ 2024-10-25 86/week @ 2024-11-01 21/week @ 2024-11-08 48/week @ 2024-11-15 42/week @ 2024-11-22 129/week @ 2024-11-29 116/week @ 2024-12-06

337 downloads per month
Used in 33 crates (12 directly)

MIT/Apache

88KB
2K 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