pub fn align_buffer<B: SplitByteSlice>(buffer: B) -> Result<B, ZbiError>Expand description
Aligns provided slice to ZBI_ALIGNMENT_USIZE bytes.
ยงReturns
Ok(aligned_slice)- on success, which can havelength == 0ZbiError::TooBig- returned if there is not enough space to align the slice