Expand description
Types for serializing high-level Cairo types into field elements and vice versa.
Structs§
- Error
- Error type for any encoding/decoding operations.
Traits§
- Decode
- Any type that can be deserialized from a series of Felts. This trait corresponds to the
deserialize
function of the CairoSerde
trait. - Encode
- Any type that can be serialized into a series of Felts. This trait corresponds to the
serialize
function of the CairoSerde
trait. - Felt
Writer - Any type where
Felt
s can be written into. This would typically beVec<Felt>
, but can also be something like a stateful hasher.