Expand description
In Situ Endian-independent Bytes Access
§Feature Gates
bytes: For abstractingBytesandBytesMut.bstr: For complementingInSitu::utf8()withInSitu::bstr().
Re-exports§
Enums§
- Order
- Helper type describing the underlying byte order.
- Take
- Helper type specifying whether to take the bytes of the header only or the whole packet.
Constants§
- F32
- Size of
f32in bytes. - F64
- Size of
f64in bytes. - I8
- Size of
i8in bytes. - I16
- Size of
i16in bytes. - I24
- Size of
i24in bytes. - I32
- Size of
i32in bytes. - I64
- Size of
i64in bytes. - I128
- Size of
i128in bytes. - U8
- Size of
u8in bytes. - U16
- Size of
u16in bytes. - U24
- Size of
u24in bytes. - U32
- Size of
u32in bytes. - U64
- Size of
u64in bytes. - U128
- Size of
u128in bytes.
Traits§
- InSitu
- Provides endian-independent immutable bytes access.
- InSitu
Mut - Provides endian-independent mutable bytes access.
- Raw
- Abstracts immutable as well as mutable generic bytes view types like
&[u8]and&mut [u8]as immutable views. - RawMut
- Abstracts mutable generic bytes view types like
&mut [u8]as mutable view.