arrow_ipc::writer

Function pad_to_alignment

Source
fn pad_to_alignment(alignment: u8, len: usize) -> usize
Expand description

Calculate an alignment boundary and return the number of bytes needed to pad to the alignment boundary