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
-
Base64OutputStream(OutputStream)
-
-
flush()
-
-
resetChecksum()
-
-
write(int)
-
-
writeChecksum()
-
-
writeInt(int)
-
Accepts a 32 bit integer, compresses it and queues it for output
by the Base64 system.
-
writeNode(Node)
- Writes the node in the full MathBus format to an OutputStream.
-
writeNodeInternal(Node)
-
Base64OutputStream
public Base64OutputStream(OutputStream str)
write
protected void write(int b) throws IOException
writeInt
protected void writeInt(int num) throws IOException
- Accepts a 32 bit integer, compresses it and queues it for output
by the Base64 system.
writeNodeInternal
protected void writeNodeInternal(Node n) throws IOException
flush
protected void flush() throws IOException
writeChecksum
protected void writeChecksum() throws IOException
resetChecksum
protected void resetChecksum()
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