|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an interface describing streams that can write output in an endian-dependent format.
Method Summary | |
void |
writeHiLoChars(java.lang.String s)
Writes a string as a null-terminated sequence of chars in high-low order. |
void |
writeHiLoInt(int v)
Writes a 32-bit int in high-low order. |
void |
writeHiLoLong(long v)
Writes a 64-bit long in high-low order. |
void |
writeHiLoShort(int v)
Writes a 16-bit short in high-low order. |
void |
writeLoHiChars(java.lang.String s)
Writes a string as a null-terminated sequence of chars in low-high order. |
void |
writeLoHiInt(int v)
Writes a 32-bit int in low-high order. |
void |
writeLoHiLong(long v)
Writes a 64-bit long in low-high order. |
void |
writeLoHiShort(int v)
Writes a 16-bit short in low-high order. |
Methods inherited from interface java.io.DataOutput |
write,
write,
write,
writeBoolean,
writeByte,
writeBytes,
writeChar,
writeChars,
writeDouble,
writeFloat,
writeInt,
writeLong,
writeShort,
writeUTF |
Method Detail |
public void writeHiLoChars(java.lang.String s) throws java.io.IOException
s
- A string of chars to be written.public void writeLoHiChars(java.lang.String s) throws java.io.IOException
s
- A string of chars to be written.public void writeHiLoInt(int v) throws java.io.IOException
v
- An integer value to be written.public void writeLoHiInt(int v) throws java.io.IOException
v
- An integer value to be written.public void writeHiLoShort(int v) throws java.io.IOException
v
- A short value to be written.public void writeLoHiShort(int v) throws java.io.IOException
v
- A short value to be written.public void writeHiLoLong(long v) throws java.io.IOException
v
- A long value to be written.public void writeLoHiLong(long v) throws java.io.IOException
v
- A long value to be written.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |