|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
hu.netmind.util.LSBDataOutputStream
public class LSBDataOutputStream
This class enables to write multi-byte data in LSB (least significant byte first) order.
| Constructor Summary | |
|---|---|
LSBDataOutputStream(java.io.OutputStream output)
Construct with a stream given. |
|
| Method Summary | |
|---|---|
void |
close()
Proxy call to output. |
void |
flush()
Proxy call to output. |
void |
write(int b)
Proxy call to output. |
void |
writeByte(int i)
Write a single byte to output. |
void |
writeInt(int i)
Write an integer to output LSB. |
void |
writeLong(long l)
Write a long to output LSB. |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LSBDataOutputStream(java.io.OutputStream output)
output - The physical output stream to write to.| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException - If the output produced an I/O error.
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException - If the output produced an I/O error.
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - The byte to write.
java.io.IOException - If the output produced an I/O error.
public void writeByte(int i)
throws java.io.IOException
i - The byte to write.
java.io.IOException - If the output produced an I/O error.
public void writeInt(int i)
throws java.io.IOException
i - The integer to write.
java.io.IOException - If the output produced an I/O error.
public void writeLong(long l)
throws java.io.IOException
l - The long to write.
java.io.IOException - If the output produced an I/O error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||