Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.imagero.uio.io
Class RLE4InputStream  view RLE4InputStream download RLE4InputStream.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bycom.imagero.uio.io.RLEInputStream
              extended bycom.imagero.uio.io.RLE4InputStream
All Implemented Interfaces:
java.io.Closeable

public class RLE4InputStream
extends RLEInputStream

PackBits decoder


Nested Class Summary
 
Nested classes inherited from class com.imagero.uio.io.RLEInputStream
RLEInputStream.DeltaRecordException, RLEInputStream.EndOfBitmapException, RLEInputStream.EndOfLineException
 
Field Summary
(package private)  BitInputStream bin
           
(package private)  BitOutputStream bitOut
           
(package private)  ByteArrayOutputStreamExt bout
           
(package private)  byte[] buffer
           
(package private)  int bufferLength
           
(package private)  int bufferStart
           
(package private)  byte[] value
           
 
Fields inherited from class com.imagero.uio.io.RLEInputStream
finished
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
RLE4InputStream(BitInputStream in)
           
 
Method Summary
private  void fillBuffer()
           
private  void fillBufferImpl()
           
 int read()
          Calls the in.read() method
 
Methods inherited from class com.imagero.uio.io.RLEInputStream
available, close, mark, markSupported, read, read, reset
 
Methods inherited from class java.io.FilterInputStream
skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

byte[] value

bin

BitInputStream bin

buffer

byte[] buffer

bufferStart

int bufferStart

bufferLength

int bufferLength

bout

ByteArrayOutputStreamExt bout

bitOut

BitOutputStream bitOut
Constructor Detail

RLE4InputStream

public RLE4InputStream(BitInputStream in)
Method Detail

read

public int read()
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read() method

Specified by:
read in class RLEInputStream

fillBuffer

private void fillBuffer()
                 throws java.io.IOException

fillBufferImpl

private void fillBufferImpl()
                     throws java.io.IOException