Function nix_compat::wire::bytes::reader::split_user_len

source ·
fn split_user_len(user_len: NonZeroU64) -> (u64, u8)
Expand description

Split the user_len into body_len and tail_len, which are respectively the non-terminal 8-byte blocks, and the ≤8 bytes of user data contained in the trailer block.