Class GorillaEncoderV1

    • Field Detail

      • flag

        protected boolean flag
      • leadingZeroNum

        protected int leadingZeroNum
      • tailingZeroNum

        protected int tailingZeroNum
      • buffer

        protected byte buffer
      • numberLeftInBuffer

        protected int numberLeftInBuffer
    • Constructor Detail

      • GorillaEncoderV1

        protected GorillaEncoderV1()
    • Method Detail

      • writeBit

        protected void writeBit​(boolean b,
                                java.io.ByteArrayOutputStream out)
      • writeBit

        protected void writeBit​(int i,
                                java.io.ByteArrayOutputStream out)
      • writeBit

        protected void writeBit​(long i,
                                java.io.ByteArrayOutputStream out)
      • clearBuffer

        protected void clearBuffer​(java.io.ByteArrayOutputStream out)
      • reset

        protected void reset()