title: How to store the zeros at the end of a binary sequence into a BitSet (Java)?
body: <p>My aim is to store a binary sequence into a BitSet as it is, without loosing the track of any zero at the end of the sequence and further retrieve the sequence from the BitSet in the same order.</p>
  
  <p>Example: if there is a sequence s = 00110100,<br>
  <strong>all the 8 bits of the sequence must be stored in the BitSet and must be retrieved in the same order.</strong></p>