Modules§
Structs§
- Display
Hex - A display helper for formatting a slice of bytes as hex with different options using Rust’s builtin format language
- Read
Adapter - An adapter of ByteReader to any type that implements std::io::Read
- Slice
Reader - Implements ByteReader trait for a slice of bytes.
Enums§
- Deserialization
Error - Defines errors which can occur during deserialization.
Traits§
- Byte
Reader - Defines how primitive values are to be read from
Self
. - Byte
Writer - Defines how primitive values are to be written into
Self
. - Deserializable
- Defines how to deserialize
Self
from bytes. - Into
Bytes - Push
Many - Serializable
- Defines how to serialize
Self
into bytes. - ToElements
- ToHex
- This trait represents a value that can be converted to a string of hexadecimal digits which represent the raw byte encoding of that value.
Functions§
- bound_
into_ included_ u64 - Converts and parses a Bound into an included u64 value.
- group_
slice_ elements - Transmutes a slice of
n
elements into a slice ofn
/N
elements, each of which is an array ofN
elements. - new_
array_ vec - Returns an array of N vectors initialized with the specified capacity.
- range
- Returns a Range initialized with the specified
start
and withend
set tostart
+len
. - to_hex
- Construct a String containing the hexadecimal representation of
bytes
- uninit_
vector ⚠ - Returns a vector of the specified length with un-initialized memory.