This reverts commit c3da72aa01. With the sample data from issue 22, one byte in the output file is zero instead of the correct value. For now at least, we'll go back to the old way of writing bits. Fixes #22
c3da72aa01
Replace the functions in write_bits.go with a bitWriter type based on the compress/flate package.
This is the output of c2go, except for util.go.