picky_asn1_der

Function to_bytes

Source
pub fn to_bytes<T: ?Sized + Serialize>(
    value: &T,
    buf: &mut [u8],
) -> Result<usize>
Expand description

Serializes value to buf and returns the amount of serialized bytes