//! Byte โ field element encoding.
//!
//! Input: 7-byte LE chunks โ field elements.
//! Output: field elements โ 8-byte LE canonical u64 values.
use crateGoldilocks;
/// Encode up to 7 bytes (little-endian) into one field element.
/// Shorter slices are zero-padded implicitly.
/// Decode a field element to 8 canonical LE bytes.
/// Encode a byte slice into field elements using 7-byte chunks.
/// Returns the number of elements written.
/// Serialize field elements to bytes (8 bytes per element, canonical LE).
/// Returns the number of bytes written.
nebu/rs/encoding.rs
ฯ 0.0%