Function binary_codec_sv2::to_bytes[][src]

pub fn to_bytes<T: Encodable + GetSize>(src: T) -> Result<Vec<u8>, Error>