[−][src]Crate in_situ
In Situ Endian-independent Bytes Access
Contents
Usage
This crate is on crates.io and can be
used by adding in-situ
to the dependencies in your project's Cargo.toml
:
[dependencies]
in-situ = "0.4"
Enums
Order | Type describing the underlying byte order. |
Take | Type of |
Constants
F32 | Size of |
F64 | Size of |
I8 | Size of |
I16 | Size of |
I24 | Size of |
I32 | Size of |
I64 | Size of |
I128 | Size of |
U8 | Size of |
U16 | Size of |
U24 | Size of |
U32 | Size of |
U64 | Size of |
U128 | Size of |
Traits
InSitu | Provides endian-independent immutable bytes access, thus requires methods
to be implemented detecting or hardcoding the word size and endianness. This
trait requires the |
InSituMut | Provides endian-independent mutable bytes access, thus requires |
Raw | Abstracts immutable as well as mutable generic bytes view types like |
RawMut | Abstracts mutable generic bytes view types like |
Functions
aligned | Calculates |
padding | Calculates padding of |