binius_field::byte_iteration

Function iterate_bytes

Source
pub fn iterate_bytes<P: PackedField>(
    data: &[P],
    callback: &mut impl ByteIteratorCallback,
)
Expand description

Iterate over bytes of a slice of the packed values. The method panics if the packed field doesn’t support byte iteration, so use can_iterate_bytes to check it.