Class BitReader


  • public class BitReader
    extends Object
    BitReader is a wrapper around the ByteBuffer that allows to read individual bits. All the readings are performed from a temporary long;
    • Constructor Detail

      • BitReader

        public BitReader​(ByteBuffer bb)
        Construct the BitReader as a wrapper around bb
        Parameters:
        bb -
    • Method Detail

      • readLong

        public long readLong​(int numBits)
      • read

        public int read​(int numBits)