title: Byte to "Bit"array
body: <p>A byte is the smallest numeric datatype java offers but yesterday I came in contact with bytestreams for the first time and at the beginning of every package a marker byte is send which gives further instructions on how to handle the package. Every bit of the byte has a specific meaning so I am in need to entangle the byte into it's 8 bits.</p>
  
  <p>You probably could convert the byte to a boolean array or create a switch for every case but that can't certainly be the best practice.</p>
  
  <p>How is this possible in java why are there no bit datatypes in java?</p>