ostore.dataobj
Class ArchiveOutputBuffer
java.lang.Object
  |
  +--ostore.util.OutputBufferImpl
        |
        +--ostore.dataobj.ArchiveOutputBuffer
- All Implemented Interfaces: 
- OutputBuffer
- public class ArchiveOutputBuffer- extends OutputBufferImpl
This class is temporary.  Do not use.
- Version: 
- $Id: ArchiveOutputBuffer.java,v 1.4 2002/07/25 06:03:19 eaton Exp $
- Author: 
- Patrick R. Eaton (ganked from Sean C. Rhea's NetworkBuffer class)
 
| Method Summary | 
|  void | add(byte input)Adds the specified byte to the digest.
 | 
|  void | add(byte[] input,
    int offset,
    int length)Adds
 lengthbytes of the specified array to the digest,
 starting atoffset. | 
|  void | enqueue(ATcpConnection conn)
 | 
|  void | overwrite(int offset,
          int value)
 | 
|  int | size()
 | 
|  byte[] | toBytes()
 | 
|  String | toString()
 | 
 
| Methods inherited from class ostore.util.OutputBufferImpl | 
| add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add | 
 
 
ArchiveOutputBuffer
public ArchiveOutputBuffer()
size
public int size()
- 
 
add
public void add(byte input)
- Description copied from class: OutputBufferImpl
- Adds the specified byte to the digest.
 
- 
- Specified by: 
- addin interface- OutputBuffer
- Specified by: 
- addin class- OutputBufferImpl
 
- 
 
add
public void add(byte[] input,
                int offset,
                int length)
- Description copied from class: OutputBufferImpl
- Adds lengthbytes of the specified array to the digest,
 starting atoffset.
 
- 
- Specified by: 
- addin interface- OutputBuffer
- Specified by: 
- addin class- OutputBufferImpl
 
- 
 
overwrite
public void overwrite(int offset,
                      int value)
- 
 
enqueue
public void enqueue(ATcpConnection conn)
             throws SinkException
- 
- SinkException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
toBytes
public byte[] toBytes()
-