revm_precompile::bn128

Function read_fq

Source
pub fn read_fq(input: &[u8]) -> Result<Fq, Error>
Expand description

Reads a single Fq from the input slice.

ยงPanics

Panics if the input is not at least 32 bytes long.