org.jpedal.jbig2.io
Class StreamReader
java.lang.Object
org.jpedal.jbig2.io.StreamReader
public class StreamReader
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamReader
public StreamReader(byte[] data)
readByte
public short readByte(PDFSegment pdfSeg)
readByte
public void readByte(short[] buf,
PDFSegment pdfSeg)
throws java.io.IOException
- Throws:
java.io.IOException
readByte
public short readByte()
readByte
public void readByte(short[] buf)
readBit
public int readBit()
readBits
public int readBits(int num)
movePointer
public void movePointer(int ammount)
consumeRemainingBits
public void consumeRemainingBits()
isFinished
public boolean isFinished()