title: Number to bytes
body: <p>I have a big number that is basically a wall of binary in base 2. How can I write those bits to a file as raw bytes that I can read and make out what the number was without storing the actual number? Also, how do I decode the said raw bytes once they are in the file?</p>
  
  <p>binary: 0b101010011000010000
  decimal: 173584
  byte: ???</p>