|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nwnintf.format.itp.ItpStream
Can't implement DataOutput because that interface specifies MSB byte order. I only defined ItpStream because I need to write in LSB.
Constructor Summary | |
ItpStream(java.io.OutputStream os)
|
Method Summary | |
void |
flush()
|
int |
size()
Return the number of bytes written to the underlying stream by this ItpStream instance. |
void |
writeByte(int x)
|
void |
writeBytes(byte[] b)
|
void |
writeBytes(java.lang.String s)
Write the low byte of each character of s to the underlying stream. |
void |
writeDouble(double x)
Write a double in LSB order. |
void |
writeInt(int x)
Write an int in LSB order to the underlying stream. |
void |
writeLong(long x)
Write a long in LSB order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ItpStream(java.io.OutputStream os)
Method Detail |
public void writeInt(int x) throws java.io.IOException
java.io.IOException
public void writeByte(int x) throws java.io.IOException
java.io.IOException
public void writeBytes(java.lang.String s) throws java.io.IOException
java.io.IOException
public void writeDouble(double x) throws java.io.IOException
java.io.IOException
public void writeLong(long x) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void writeBytes(byte[] b) throws java.io.IOException
java.io.IOException
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |