Trait bellperson::bls::Compress[][src]

pub trait Compress {
    fn write_compressed<W>(self, out: W) -> Result<(), Error>
    where
        W: Write
;
fn read_compressed<R>(source: R) -> Result<Self, Error>
    where
        R: Read
; }
Expand description

This traits enables reading and writing a compressed version.

Required methods

fn write_compressed<W>(self, out: W) -> Result<(), Error> where
    W: Write
[src]

fn read_compressed<R>(source: R) -> Result<Self, Error> where
    R: Read
[src]

Implementors

impl Compress for Fq12[src]

pub fn write_compressed<W>(self, out: W) -> Result<(), Error> where
    W: Write
[src]

pub fn read_compressed<R>(source: R) -> Result<Fq12, Error> where
    R: Read
[src]