Function nix_compat::wire::bytes::padding_len

source ยท
fn padding_len(len: u64) -> u8
Expand description

Computes the number of bytes we should add to len (a length in bytes) to be aligned on 64 bits (8 bytes).