public class BitstreamReader extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
bitsRead |
protected CharCache |
debugBits |
Constructor and Description |
---|
BitstreamReader(InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getBitPosition() |
int |
getCurBit() |
boolean |
isByteAligned() |
boolean |
moreRBSPData() |
int |
peakNextBits(int n) |
int |
read1Bit() |
boolean |
readBool() |
int |
readByte() |
long |
readNBit(int n) |
long |
readRemainingByte() |
protected static int bitsRead
protected CharCache debugBits
public BitstreamReader(InputStream is) throws IOException
IOException
public boolean readBool() throws IOException
IOException
public int read1Bit() throws IOException
IOException
public long readNBit(int n) throws IOException
IOException
public int readByte() throws IOException
IOException
public boolean moreRBSPData() throws IOException
IOException
public long getBitPosition()
public long readRemainingByte() throws IOException
IOException
public int peakNextBits(int n) throws IOException
IOException
public boolean isByteAligned()
public void close() throws IOException
IOException
public int getCurBit()
Copyright © 2017. All rights reserved.