All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mathbus.Base64OutputStream

java.lang.Object
   |
   +----mathbus.Base64Stream
           |
           +----mathbus.Base64OutputStream

public class Base64OutputStream
extends Base64Stream
Writes a MathBus node to an OutputStream.

See Also:
Node, Base64Stream, Base64InputStream

Constructor Index

 o Base64OutputStream(OutputStream)

Method Index

 o flush()
 o resetChecksum()
 o write(int)
 o writeChecksum()
 o writeInt(int)
Accepts a 32 bit integer, compresses it and queues it for output by the Base64 system.
 o writeNode(Node)
Writes the node in the full MathBus format to an OutputStream.
 o writeNodeInternal(Node)

Constructors

 o Base64OutputStream
 public Base64OutputStream(OutputStream str)

Methods

 o write
 protected void write(int b) throws IOException
 o writeInt
 protected void writeInt(int num) throws IOException
Accepts a 32 bit integer, compresses it and queues it for output by the Base64 system.

 o writeNodeInternal
 protected void writeNodeInternal(Node n) throws IOException
 o flush
 protected void flush() throws IOException
 o writeChecksum
 protected void writeChecksum() throws IOException
 o resetChecksum
 protected void resetChecksum()
 o writeNode
 public void writeNode(Node n) throws IOException
Writes the node in the full MathBus format to an OutputStream. Header information and a checksum are included, as is the necessary local registry information.


All Packages  Class Hierarchy  This Package  Previous  Next  Index