Traits§
- Decodable
Config - StarkProtocolConfig that has decodable associated types. This is a separate trait to avoid Rust’s orphan rule.
- Decode
- Hardware and language independent decoding. Uses the Reader pattern for efficient decoding.
- Encodable
Config - StarkProtocolConfig that has encodable associated types. This is a separate trait to avoid Rust’s orphan rule.
- Encode
- Hardware and language independent encoding. Uses the Writer pattern for more efficient encoding without intermediate buffers.
Functions§
- decode_
extension_ field32 - Decode an extension field element by decoding each basis coefficient.
- decode_
into_ vec - Decodes into a vector given preset length
- decode_
prime_ field32 - Decode a
PrimeField32element from 4 little-endian bytes. - encode_
extension_ field32 - Encode an extension field element by encoding each basis coefficient.
- encode_
iter - Encodes each element (no length)
- encode_
prime_ field32 - Encode a
PrimeField32element as 4 little-endian bytes of its canonical u32 value. - encode_
slice - Encodes length of slice and then each element