Trait ToBytes
Other items inark_ff::bytes
pub trait ToBytes { fn write<W: Write>(&self, writer: W) -> IoResult<()>; }
fn write<W: Write>(&self, writer: W) -> IoResult<()>
Serializes self into writer.
self
writer
impl<T: ToBytes> ToBytes for Option<T>
impl ToBytes for ()
fn write<W: Write>(&self, _writer: W) -> IoResult<()>
impl ToBytes for BigInteger64
impl ToBytes for BigInteger128
impl ToBytes for BigInteger256
impl ToBytes for BigInteger320
impl ToBytes for BigInteger384
impl ToBytes for BigInteger448
impl ToBytes for BigInteger768
impl ToBytes for BigInteger832
impl ToBytes for bool
impl ToBytes for u8
impl ToBytes for u16
impl ToBytes for u32
impl ToBytes for u64
impl ToBytes for u128
impl<'a, T: 'a + ToBytes> ToBytes for &'a T
impl<'a, T: 'a + ToBytes> ToBytes for &'a [T]
impl<P: CubicExtParameters> ToBytes for CubicExtField<P>
impl<P: QuadExtParameters> ToBytes for QuadExtField<P>
impl<P: Fp64Parameters> ToBytes for Fp64<P>
impl<P: Fp256Parameters> ToBytes for Fp256<P>
impl<P: Fp320Parameters> ToBytes for Fp320<P>
impl<P: Fp384Parameters> ToBytes for Fp384<P>
impl<P: Fp448Parameters> ToBytes for Fp448<P>
impl<P: Fp768Parameters> ToBytes for Fp768<P>
impl<P: Fp832Parameters> ToBytes for Fp832<P>
impl<T: ToBytes> ToBytes for Vec<T>
impl<const N: usize> ToBytes for [u8; N]
impl<const N: usize> ToBytes for [u16; N]
impl<const N: usize> ToBytes for [u32; N]
impl<const N: usize> ToBytes for [u64; N]
impl<const N: usize> ToBytes for [u128; N]