Interface cryptix.util.StreamInterface
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface cryptix.util.StreamInterface

public interface StreamInterface
extends Object
This interface allows objects to be read from or written onto DataInput and DataOutput objects. There are also binary array methods to allow other types of storing or when the length is required.


Method Index

 o load(byte[])
This loads the object from a saved buffer.
 o read(DataInput)
This reads the object from the data input stream
 o save()
This saves the object into a buffer.
 o write(DataOutput)
This writes the object to the data output stream

Methods

 o load
  public abstract void load(byte buffer[]) throws IOException
This loads the object from a saved buffer.
 o save
  public abstract byte[] save() throws IOException
This saves the object into a buffer.
 o read
  public abstract void read(DataInput in) throws IOException
This reads the object from the data input stream
 o write
  public abstract void write(DataOutput out) throws IOException
This writes the object to the data output stream

All Packages  Class Hierarchy  This Package  Previous  Next  Index