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
deserializefunction of the CairoSerdetrait. - Encode
- Any type that can be serialized into a series of Felts. This trait corresponds to the
serializefunction of the CairoSerdetrait. - Felt
Writer - Any type where
Felts can be written into. This would typically beVec<Felt>, but can also be something like a stateful hasher.