Figure 8: Filling the Buffer Before reading bits, the class must fill the buffer with data from the InputStream.
Figure 8