pub fn encode_cadu(
asm: &[u8],
frame: &[u8],
output: &mut [u8],
) -> Result<usize, CaduError>Expand description
Encodes a transfer frame into a CADU by prepending the ASM.
Writes asm | frame into output and returns the total bytes
written.