ostore.util
Interface OutputBuffer

All Known Implementing Classes:
OutputBufferImpl, QSClone.QSCloneBuffer

public interface OutputBuffer

A buffer into which QuickSerializable objects can be written.

Version:
$Id: OutputBuffer.java,v 1.6 2002/07/20 19:38:03 srhea Exp $
Author:
Sean C. Rhea
See Also:
QuickSerializable

Method Summary
 void add(BigInteger value)
           
 void add(boolean b)
           
 void add(byte input)
          Adds the specified byte to the digest.
 void add(byte[] value)
          Adds the specified byte array to the digest.
 void add(byte[] value, int offset, int length)
          Adds length bytes of the specified array to the digest, starting at offset.
 void add(double x)
           
 void add(InputBuffer buffer)
          Adds the remaining bytes in the given input buffer to this output buffer.
 void add(int i)
           
 void add(long i)
           
 void add(QuickSerializable value)
          Adds the specified object to the digest.
 void add(short i)
           
 void add(String s)
           
 

Method Detail

add

public void add(byte input)
Adds the specified byte to the digest.


add

public void add(byte[] value)
Adds the specified byte array to the digest.


add

public void add(byte[] value,
                int offset,
                int length)
Adds length bytes of the specified array to the digest, starting at offset.


add

public void add(QuickSerializable value)
Adds the specified object to the digest. This method invokes the QuickSerializable.serialize method on value; be careful to avoid infinite loops.


add

public void add(InputBuffer buffer)
Adds the remaining bytes in the given input buffer to this output buffer.


add

public void add(boolean b)

add

public void add(short i)

add

public void add(int i)

add

public void add(long i)

add

public void add(double x)

add

public void add(String s)

add

public void add(BigInteger value)