org.jpedal.jbig2.io
Class StreamReader

java.lang.Object
  extended by org.jpedal.jbig2.io.StreamReader

public class StreamReader
extends java.lang.Object


Constructor Summary
StreamReader(byte[] data)
           
 
Method Summary
 void consumeRemainingBits()
           
 boolean isFinished()
           
 void movePointer(int ammount)
           
 int readBit()
           
 int readBits(int num)
           
 short readByte()
           
 short readByte(PDFSegment pdfSeg)
           
 void readByte(short[] buf)
           
 void readByte(short[] buf, PDFSegment pdfSeg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamReader

public StreamReader(byte[] data)
Method Detail

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()