pub fn bitpacked_encode<W: Write, I: Iterator<Item = bool>>( writer: &mut W, iterator: I, ) -> Result<()>
Writes an iterator of bools into writer, with LSB first.