Add getBuffer() to BitBuffer
Move compression choice and other setup stuff into the setup method