public class DummyBitstreamReader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
bitsRead |
| Constructor and Description |
|---|
DummyBitstreamReader(InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
align() |
int |
checkNBit(int n) |
void |
close() |
int |
curBit() |
long |
getBitPosition() |
int |
getCurBit() |
boolean |
isByteAligned() |
boolean |
lastByte() |
boolean |
moreData() |
boolean |
moreRBSPData() |
int |
peakNextBits(int n) |
int |
read1Bit() |
int |
read1BitInt() |
int |
readByte() |
int |
readNBit(int n) |
long |
readRemainingByte() |
int |
skip(int bits) |
public DummyBitstreamReader(InputStream is) throws IOException
IOExceptionpublic int read1Bit()
throws IOException
IOExceptionpublic int read1BitInt()
throws IOException
IOExceptionpublic int readNBit(int n)
throws IOException
IOExceptionpublic int readByte()
throws IOException
IOExceptionpublic boolean moreRBSPData()
throws IOException
IOExceptionpublic long getBitPosition()
public boolean moreData()
throws IOException
IOExceptionpublic long readRemainingByte()
throws IOException
IOExceptionpublic int peakNextBits(int n)
throws IOException
IOExceptionpublic boolean isByteAligned()
public void close()
throws IOException
IOExceptionpublic int getCurBit()
public final int skip(int bits)
throws IOException
IOExceptionpublic int align()
throws IOException
IOExceptionpublic int checkNBit(int n)
throws IOException
IOExceptionpublic int curBit()
public boolean lastByte()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.