Class BitWriter


  • public class BitWriter
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BitWriter​(byte[] bytes)  
      BitWriter​(byte[] bytes, int len)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void alignToByte()  
      int count()  
      void putBit​(int bit)  
      void putInt​(int numberBits, int val)  
      void putLong​(int numberBits, long val)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitWriter

        public BitWriter​(byte[] bytes)
      • BitWriter

        public BitWriter​(byte[] bytes,
                         int len)
    • Method Detail

      • count

        public int count()
      • putBit

        public void putBit​(int bit)
      • putInt

        public void putInt​(int numberBits,
                           int val)
      • putLong

        public void putLong​(int numberBits,
                            long val)
      • alignToByte

        public void alignToByte()