Trait generic_ec_core::Decode

source ·
pub trait Decode: Sized {
    // Required method
    fn decode(bytes: &[u8]) -> Option<Self>;
}
Expand description

Decodes a point from its compressed or uncompressed representation

Required Methods§

source

fn decode(bytes: &[u8]) -> Option<Self>

Decodes a point from its compressed or uncompressed representation

Object Safety§

This trait is not object safe.

Implementors§