Trait cry::primitive::bytes::Bytes [−][src]
Convert data format between bytes and struct.
Convert data format between bytes and struct.
type OutputSize: ArrayLength<u8>[src]impl Bytes for cry::ristretto255::Point[src]type OutputSize = U32fn from_bytes(data: Output<Self>) -> Self[src]fn to_bytes(&self) -> Output<Self>[src]impl Bytes for cry::ristretto255::Scalar[src]type OutputSize = U32fn to_bytes(&self) -> Output<Self>[src]fn from_bytes(data: Output<Self>) -> Self[src]impl<P: DisLogPoint> Bytes for cry::primitive::point::Point<P>[src]type OutputSize = P::OutputSizefn to_bytes(&self) -> Output<Self>[src]fn from_bytes(data: Output<Self>) -> Self[src]impl<S: ScalarNumber> Bytes for cry::primitive::scalar::Scalar<S>[src]type OutputSize = S::OutputSizefn to_bytes(&self) -> Output<Self>[src]fn from_bytes(data: Output<Self>) -> Self[src]