public BitFile(Stream output, bool blocks) { output_ = output; blocks_ = blocks; buffer_ = new byte[256]; index_ = 0; bitsLeft_ = 8; }