IBitReaderpublic class BitReader extends Object implements IBitReader
| Constructor | Description |
|---|---|
BitReader(byte[] bytes) |
|
BitReader(byte[] bytes,
int len) |
|
BitReader(byte[] bytes,
int offset,
int len) |
| 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) |
|
int |
peekInt(int numberBits) |
|
int |
peekIntLE(int numberBits) |
|
long |
peekLong(int numberBits) |
|
int |
readExpGolomb() |
|
int |
readExpGolombSigned() |
|
int |
remaining() |
|
void |
skip() |
|
void |
skip(int numberBits) |
public BitReader(byte[] bytes)
public BitReader(byte[] bytes,
int len)
public BitReader(byte[] bytes,
int offset,
int len)
public int count()
public int getBit()
public int getBytes(byte[] buffer,
int offset,
int len)
getBytes in interface IBitReaderpublic int getInt(int numberBits)
getInt in interface IBitReaderpublic int getIntLE(int numberBits)
getIntLE in interface IBitReaderpublic int getIntSigned(int numberBits)
public long getLong(int numberBits)
getLong in interface IBitReaderpublic int peekInt(int numberBits)
peekInt in interface IBitReaderpublic int peekIntLE(int numberBits)
peekIntLE in interface IBitReaderpublic long peekLong(int numberBits)
peekLong in interface IBitReaderpublic int readExpGolomb()
public int readExpGolombSigned()
public int remaining()
remaining in interface IBitReaderpublic void skip()
public void skip(int numberBits)
skip in interface IBitReader