ostore.util
Class QSByteArray

java.lang.Object
  |
  +--ostore.util.QSByteArray
All Implemented Interfaces:
QuickSerializable

public class QSByteArray
extends Object
implements QuickSerializable

QSByteArray.java

Version:
$Id: QSByteArray.java,v 1.11 2002/07/29 18:48:54 geels Exp $
Author:
Gifford Cheung

Constructor Summary
QSByteArray(byte[] bytes)
           
QSByteArray(InputBuffer buffer)
           
 
Method Summary
 byte[] bytes()
           
 Object clone()
           
 boolean equals(Object other)
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSByteArray

public QSByteArray(byte[] bytes)

QSByteArray

public QSByteArray(InputBuffer buffer)
Method Detail

bytes

public byte[] bytes()

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
CloneNotSupportedException

equals

public boolean equals(Object other)
Overrides:
equals in class Object