fn write_aligned<W, E, N>(writer: W, acc: &mut BitQueue<E, N>) -> Result<()>where W: Write, E: Endianness, N: Numeric,