Trait generic_ec_core::CompressedEncoding

source ·
pub trait CompressedEncoding
where Self: Sized,
{ type Bytes: ByteArray; // Required method fn to_bytes_compressed(&self) -> Self::Bytes; }
Expand description

Compressed encoding of the point

Required Associated Types§

source

type Bytes: ByteArray

Byte array that fits the whole compressed point representation

Required Methods§

source

fn to_bytes_compressed(&self) -> Self::Bytes

Encodes the point as bytes in compressed form

Object Safety§

This trait is not object safe.

Implementors§