Class BitBuffer

java.lang.Object
nom.tam.fits.compression.algorithm.rice.BitBuffer

public class BitBuffer extends Object
Deprecated.
(for internal use) Its visibility may be reduced to the package level in the future.
(for internal use) A bit wise reader writer around a ByteBuffer.
Author:
Ritchie
  • Constructor Details

    • BitBuffer

      public BitBuffer(ByteBuffer writeBuffer)
      Deprecated.
  • Method Details

    • bitbuffer

      public int bitbuffer()
      Deprecated.
    • missingBitsInCurrentByte

      public int missingBitsInCurrentByte()
      Deprecated.
    • movePosition

      public void movePosition(int i)
      Deprecated.
    • putByte

      public void putByte(byte byteToAdd)
      Deprecated.
    • putByte

      public void putByte(byte byteToAdd, int bits)
      Deprecated.
    • putInt

      public void putInt(int i)
      Deprecated.
      write out int value to the next 4 bytes of the buffer
      Parameters:
      i - integer to write
    • putInt

      public void putInt(int i, int bits)
      Deprecated.
    • putLong

      public void putLong(long l, int bits)
      Deprecated.