macro_rules! gen_align {
    (($i:expr, $idx:expr), $val:expr) => { ... };
    ($i:expr, $val:expr) => { ... };
}
Expand description

gen_align!(I, u8) => I -> Result<I,E> Align the output buffer to the next multiple of specified value.

Does not modify the output buffer, but increments the output index.