#endianness #byteorder #no-alloc

no-std lilbig

Utilities for swapping the byte-order of in-memory types

7 releases

0.2.1 Aug 4, 2023
0.2.0 Aug 2, 2023
0.2.0-alpha.0 Jul 22, 2023
0.1.2-alpha Jul 21, 2023

#128 in No standard library

27 downloads per month

MPL-2.0 license

26KB
171 lines

LilBig

Crates.io Crates.io docs.rs

A Rust crate offering utilities for swapping the byte-order of in-memory types.

When might I want to use this crate?

The user will likely find this crate most useful and appropriate when the following conditions are met:

  • The data being operated on is trivially loadable into memory.
  • The data being operated on does not have a byte-order that can be known at compile-time.

When might I not want to use this crate?

If any of the previously mentioned conditions are not met, then the user will likely find using this crate to feel clunky.

The crate doesn't seem appropriate. What might I use instead?

If the user feels this crate is inappropriate, then they might consider the following alternatives:

No runtime deps