Package de.jarnbjo.util.io
Interface BitInputStream
- All Known Implementing Classes:
ByteArrayBitInputStream
public interface BitInputStream
-
Field Summary
Fields Modifier and Type Field Description static int
BIG_ENDIAN
static int
LITTLE_ENDIAN
-
Method Summary
Modifier and Type Method Description void
align()
boolean
getBit()
int
getInt(int int1)
int
getInt(HuffmanNode huffmanNode)
long
getLong(int int1)
int
getSignedInt(int int1)
int
readSignedRice(int int1)
void
readSignedRice(int int1, int[] intArray, int int2, int int3)
void
setEndian(int int1)
-
Field Details
-
LITTLE_ENDIAN
static final int LITTLE_ENDIAN- See Also:
- Constant Field Values
-
BIG_ENDIAN
static final int BIG_ENDIAN- See Also:
- Constant Field Values
-
-
Method Details
-
getBit
boolean getBit() throws java.io.IOException- Throws:
java.io.IOException
-
getInt
int getInt(int int1) throws java.io.IOException- Throws:
java.io.IOException
-
getSignedInt
int getSignedInt(int int1) throws java.io.IOException- Throws:
java.io.IOException
-
getInt
- Throws:
java.io.IOException
-
readSignedRice
int readSignedRice(int int1) throws java.io.IOException- Throws:
java.io.IOException
-
readSignedRice
void readSignedRice(int int1, int[] intArray, int int2, int int3) throws java.io.IOException- Throws:
java.io.IOException
-
getLong
long getLong(int int1) throws java.io.IOException- Throws:
java.io.IOException
-
align
void align() -
setEndian
void setEndian(int int1)
-