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

Method Index

 o load(byte[])
Loads 'this' from a saved buffer.
 o read(DataInput)
Reads 'this' from the DataInput object.
 o save()
Saves 'this' into a buffer.
 o write(DataOutput)
Writes 'this' to the DataOutput object.

Methods

 o load
 public abstract void load(byte buffer[]) throws IOException
Loads 'this' from a saved buffer.

 o save
 public abstract byte[] save() throws IOException
Saves 'this' into a buffer.

 o read
 public abstract void read(DataInput in) throws IOException
Reads 'this' from the DataInput object.

 o write
 public abstract void write(DataOutput out) throws IOException
Writes 'this' to the DataOutput object.


All Packages  Class Hierarchy  This Package  Previous  Next  Index