Function read_point
pub fn read_point(input: &[u8]) -> Result<G1, PrecompileError>
Expand description
Reads the x
and y
points from the input slice.
ยงPanics
Panics if the input is not at least 64 bytes long.
pub fn read_point(input: &[u8]) -> Result<G1, PrecompileError>
Reads the x
and y
points from the input slice.
Panics if the input is not at least 64 bytes long.