Skip to main content

write_to_bytes

Function write_to_bytes 

Source
pub fn write_to_bytes(
    packet: &Packet,
    exact_lengths: bool,
) -> Result<Vec<u8>, Error<'static>>
Expand description

Write a packet to a vec of bytes