macro_rules! gen_copy {
(($i:expr, $idx:expr), $val:expr, $l:expr) => { ... };
($i:expr, $val:expr, $l:expr) => { ... };
}
Expand description
gen_copy!(I, &[u8], u8) => I -> Result<I,E>
Writes a slice, copying only the specified number of bytes to the output buffer.