Module bytes_to_field

Source

Structsยง

BytesToField ๐Ÿ”’
FieldToBytes ๐Ÿ”’

Functionsยง

bytes_to_field
Deterministic, infallible, invertible iterator adaptor to convert from arbitrary bytes to field elements.
elem_byte_capacity
Return the number of bytes that can be encoded into a generic [PrimeField] parameter.
field_to_bytes
Deterministic, infallible inverse of bytes_to_field.