reth_revm::precompile::bn128

Function read_fq

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

Reads a single Fq from the input slice.

ยงPanics

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