All Packages Class Hierarchy This Package Previous Next Index
Interface cryptix.util.StreamInterface
- public interface StreamInterface
This interface allows objects to be read from or written to DataInput and
DataOutput objects. There are also binary array methods to allow other
types of storing, or for when it is necessary to know the length of the
data.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
- Author:
- unattributed
-
load(byte[])
- Loads 'this' from a saved buffer.
-
read(DataInput)
- Reads 'this' from the DataInput object.
-
save()
- Saves 'this' into a buffer.
-
write(DataOutput)
- Writes 'this' to the DataOutput object.
load
public abstract void load(byte buffer[]) throws IOException
- Loads 'this' from a saved buffer.
save
public abstract byte[] save() throws IOException
- Saves 'this' into a buffer.
read
public abstract void read(DataInput in) throws IOException
- Reads 'this' from the DataInput object.
write
public abstract void write(DataOutput out) throws IOException
- Writes 'this' to the DataOutput object.
All Packages Class Hierarchy This Package Previous Next Index