ibis.mpj
Class StoreInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by ibis.mpj.StoreInputStream
All Implemented Interfaces:
Closeable

public class StoreInputStream
extends InputStream

Extends OutputStream with read of array of primitives and readSingleInt


Constructor Summary
StoreInputStream(ibis.mpj.StoreBuffer buf)
           
 
Method Summary
 int available()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreInputStream

public StoreInputStream(ibis.mpj.StoreBuffer buf)
Method Detail

reset

public final void reset()
Overrides:
reset in class InputStream

read

public final int read()
Specified by:
read in class InputStream

read

public final int read(byte[] b)
Overrides:
read in class InputStream

read

public final int read(byte[] b,
                      int off,
                      int len)
Overrides:
read in class InputStream

available

public final int available()
                    throws IOException
Overrides:
available in class InputStream
Throws:
IOException


The Ibis project