Function picky_asn1_der::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