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.
- HexParse
Error - Defines errors which can occur during parsing of hexadecimal strings.
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.
- bytes_
to_ hex_ string - Renders an array of bytes as hex into a String.
- group_
slice_ elements - Transmutes a slice of
n
elements into a slice ofn
/N
elements, each of which is an array ofN
elements. - hex_
to_ bytes - Parses a hex string into an array of bytes of known size.
- new_
array_ vec - Returns an array of N vectors initialized with the specified capacity.
- parse_
hex_ string_ as_ word - parse_
hex_ to_ felts - 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.
- word_
to_ masm_ push_ string - Converts a word into a string of the word’s field elements separated by periods, which can
be used on a MASM
push
instruction to push the word onto the stack.