title: Bit manipulation and output in Java
body: <p>If you have binary strings (literally String objects that contain only 1's and 0's), how would you output them as bits into a file?</p>
  
  <p>This is for a text compressor I was working on; it's still bugging me, and it'd be nice to finally get it working. Thanks!</p>