Re-exports§
- pub use script_builder::ScriptBuilder;
- pub use crate::errors::ScriptBuilderError;
Modules§
Structs§
- DisplayHex 
- A display helper for formatting a slice of bytes as hex with different options using Rust’s builtin format language
- ReadAdapter 
- An adapter of ByteReader to any type that implements std::io::Read
- SliceReader 
- Implements ByteReader trait for a slice of bytes.
Enums§
- DeserializationError 
- Defines errors which can occur during deserialization.
- HexParseError 
- Defines errors which can occur during parsing of hexadecimal strings.
Traits§
- ByteReader 
- Defines how primitive values are to be read from Self.
- ByteWriter 
- Defines how primitive values are to be written into Self.
- Deserializable
- Defines how to deserialize Selffrom bytes.
- IntoBytes 
- PushMany 
- Serializable
- Defines how to serialize Selfinto 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 nelements into a slice ofn/Nelements, each of which is an array ofNelements.
- 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 
- Parses a hex string into a [Felt; 4]array.
- range
- Returns a Range initialized with the specified startand withendset 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.