com.imagero.uio.io
Class ByteArray2DInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.ByteArrayInputStream
          extended bycom.imagero.uio.io.ByteArray2DInputStream

public class ByteArray2DInputStream
extends java.io.ByteArrayInputStream

Like byteArrayInputStream but works with 2d byte array


Field Summary
 
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
 
Constructor Summary
ByteArray2DInputStream(byte[][] data)
           
 
Method Summary
 void mark(int readAheadLimit)
           
 int read()
           
 int read(byte[] buf, int off, int len)
           
 void reset()
           
 long skip(long ns)
           
 
Methods inherited from class java.io.ByteArrayInputStream
available, close, markSupported
 
Methods inherited from class java.io.InputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArray2DInputStream

public ByteArray2DInputStream(byte[][] data)
Method Detail

read

public int read()

read

public int read(byte[] buf,
                int off,
                int len)

skip

public long skip(long ns)

mark

public void mark(int readAheadLimit)

reset

public void reset()