Writes self
into writer
as little-endian bytes.
Returns self
as a byte array in little-endian order.
Writes the data to a buffer.
Writes the data to a buffer.
impl<P> ToBytes for G2Prepared<P> where
P: Bls12Parameters,
impl<P> ToBytes for Affine<P> where
P: ShortWeierstrassParameters,
impl<P> ToBytes for G1Prepared<P> where
P: Bls12Parameters,
impl<P> ToBytes for Projective<P> where
P: ShortWeierstrassParameters,
impl<P> ToBytes for Fp6<P> where
P: Fp6Parameters,
impl<P> ToBytes for Fp2<P> where
P: Fp2Parameters,
impl<P> ToBytes for Fp384<P> where
P: Fp384Parameters,
impl<P> ToBytes for Fp256<P> where
P: Fp256Parameters,
impl<P> ToBytes for Fp12<P> where
P: Fp12Parameters,
Writes the integer to a buffer.
Writes the Merkle path to a buffer.
Writes an account view key to a buffer.
Writes an account signature to a buffer.
Writes an account private key to a buffer.
Writes an account graph key to a buffer.
Writes an account compute key to a buffer.