to_writer

Function to_writer 

Source
pub fn to_writer<T: Encodable>(src: T, dst: &mut [u8]) -> Result<(), Error>
Expand description

Encodes the SV2 data type to the provided byte slice.