Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.p2p.util.rawserialization
Class SimpleInputBuffer

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.io.DataInputStream
                  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.