Rice Pastry API

rice.p2p.util.rawserialization
Class SimpleInputBuffer

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by rice.p2p.util.rawserialization.SimpleInputBuffer
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, InputBuffer

public class SimpleInputBuffer
extends java.io.DataInputStream
implements InputBuffer


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
SimpleInputBuffer(byte[] bytes)
           
SimpleInputBuffer(byte[] bytes, int skip)
           
 
Method Summary
 int bytesRemaining()
           
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rice.p2p.commonapi.rawserialization.InputBuffer
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUTF
 

Constructor Detail

SimpleInputBuffer

public SimpleInputBuffer(byte[] bytes)

SimpleInputBuffer

public SimpleInputBuffer(byte[] bytes,
                         int skip)
Method Detail

bytesRemaining

public int bytesRemaining()
Specified by:
bytesRemaining in interface InputBuffer

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection