pub(super) fn resize_for_bits(buffer: &mut MutableBuffer, len: usize)
extends the buffer to be able to hold len bits, setting all bits of the new size to zero.
buffer
len