Crate irox_bits

source ·
Expand description

§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.

§Features

Modules§

  • UTF-8 Encoding & Decoding

Structs§

Enums§

Traits§

  • Read methods for the primitive types
  • Write methods for the primitive types
  • Trait to permit an atomic Seek+Read operation
  • Trait to permit an atomic Seek+Write operation

Functions§

Type Aliases§