Package com.wowza.util
Class BitReader
- Object
-
- com.wowza.util.BitReader
-
- All Implemented Interfaces:
IBitReader
public class BitReader extends Object implements IBitReader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
int
getBit()
int
getBytes(byte[] buffer, int offset, int len)
int
getInt(int numberBits)
int
getIntLE(int numberBits)
int
getIntSigned(int numberBits)
long
getLong(int numberBits)
boolean
isByteAligned()
int
peekInt(int numberBits)
int
peekIntLE(int numberBits)
long
peekLong(int numberBits)
int
readExpGolomb()
int
readExpGolombSigned()
int
remaining()
void
skip()
void
skip(int numberBits)
-
-
-
Method Detail
-
remaining
public int remaining()
- Specified by:
remaining
in interfaceIBitReader
-
count
public int count()
-
getBit
public int getBit()
-
skip
public void skip()
-
skip
public void skip(int numberBits)
- Specified by:
skip
in interfaceIBitReader
-
peekInt
public int peekInt(int numberBits)
- Specified by:
peekInt
in interfaceIBitReader
-
peekIntLE
public int peekIntLE(int numberBits)
- Specified by:
peekIntLE
in interfaceIBitReader
-
getInt
public int getInt(int numberBits)
- Specified by:
getInt
in interfaceIBitReader
-
getIntLE
public int getIntLE(int numberBits)
- Specified by:
getIntLE
in interfaceIBitReader
-
peekLong
public long peekLong(int numberBits)
- Specified by:
peekLong
in interfaceIBitReader
-
getLong
public long getLong(int numberBits)
- Specified by:
getLong
in interfaceIBitReader
-
getIntSigned
public int getIntSigned(int numberBits)
-
readExpGolombSigned
public int readExpGolombSigned()
-
readExpGolomb
public int readExpGolomb()
-
getBytes
public int getBytes(byte[] buffer, int offset, int len)
- Specified by:
getBytes
in interfaceIBitReader
-
isByteAligned
public boolean isByteAligned()
-
-