wtanaka.praya.gale
Class GaleOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.DataOutputStream
|
+--wtanaka.praya.gale.GaleOutputStream
- All Implemented Interfaces:
- java.io.DataOutput
- public class GaleOutputStream
- extends java.io.DataOutputStream
Gale output stream.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/09/30 21:14:52 $
- Author:
- $Author: wtanaka $
| Fields inherited from class java.io.DataOutputStream |
written |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Methods inherited from class java.io.DataOutputStream |
flush, incCount, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
close, write |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
write |
GaleOutputStream
public GaleOutputStream(java.io.OutputStream outputstream)
writeUCS2WithLengthInChars
public final void writeUCS2WithLengthInChars(java.lang.String s)
throws java.io.IOException
writeCountedUnicode
public final void writeCountedUnicode(java.lang.String s)
throws java.io.IOException
writeU32
public void writeU32(int u32)
throws java.io.IOException
write
public void write(NulTerminatedString string)
throws java.io.IOException
writeTime
public void writeTime(Timestamp time)
throws java.io.IOException
- Writes the timestamp out to the stream. This takes up 16 bytes.
- Parameters:
time - the timestamp to write to the stream.
writeRLE
public void writeRLE(int l,
java.math.BigInteger data)
throws java.io.IOException,
java.lang.IllegalArgumentException
- Writes an RLE encoded big integer. Ported from gale-0.99a
gale_pack_rle in pack.c
- Parameters:
l - the length of the unencoded buffer.