fn set_remainder_bits(
start_remainder_mut_slice: &mut [u8],
rem: u64,
remainder_len: usize,
)Expand description
Write remainder bits back to buffer while preserving bits outside the range.
This function carefully updates only the specified bits, leaving all other bits in the affected bytes unchanged.
ยงArguments
start_remainder_mut_slice- the slice of bytes to write the remainder bits to, the length must be equal toceil(remainder_len, 8)rem- The result bits to writeremainder_len- Number of bits to write