Rice Pastry API

rice.p2p.util.rawserialization
Class SimpleInputBuffer

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

public class SimpleInputBuffer
extends java.io.DataInputStream
implements InputBuffer

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
SimpleInputBuffer(byte[] bytes)
          Constructor for SimpleInputBuffer.
 
Method Summary
 int bytesRemaining()
          DESCRIBE THE METHOD
 short peakShort()
          DESCRIBE THE METHOD
 
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)
Constructor for SimpleInputBuffer.

Parameters:
bytes - DESCRIBE THE PARAMETER
Method Detail

peakShort

public short peakShort()
                throws java.io.IOException
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION

bytesRemaining

public int bytesRemaining()
DESCRIBE THE METHOD

Specified by:
bytesRemaining in interface InputBuffer
Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection