pub fn data_to_write(data: &[u8], out: impl Write) -> Result<usize>
Expand description

Write a data message to out.