Function encode

Source
pub fn encode<F: PrimeField>(bytes: &[u8]) -> F
Expand description

Converts bytes into a field element ; bytes length can be arbitrary.