|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream com.fernsroth.easyio.EasyIOOutputStream
public class EasyIOOutputStream
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
EasyIOOutputStream(IOutputStream out)
constructor. |
|
EasyIOOutputStream(java.io.OutputStream out)
constructor. |
Method Summary | |
---|---|
long |
getCount()
gets the count of bytes written. |
void |
write(int b)
|
void |
write(java.lang.Object obj)
writes an object to the stream. |
void |
writeINT64(long val)
writes an 64-bit integer (little endien). |
void |
writeUINT16(int val)
writes an unsigned 16-bit integer (little endien). |
void |
writeUINT32(long val)
writes an unsigned 64-bit integer (little endien). |
void |
writeUINT64(java.math.BigInteger val)
write a uint64. |
void |
writeUINT8(int val)
writes an unsigned 8-bit integer. |
Methods inherited from class java.io.FilterOutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EasyIOOutputStream(java.io.OutputStream out)
out
- the output stream to wrap.public EasyIOOutputStream(IOutputStream out)
out
- the output stream to wrap.Method Detail |
---|
public void write(java.lang.Object obj) throws EasyIOException, java.io.IOException
obj
- the object to write.
EasyIOException
java.io.IOException
public void writeINT64(long val) throws java.io.IOException
val
- the value to write.
java.io.IOException
public void writeUINT64(java.math.BigInteger val) throws java.io.IOException
val
- the value to write.
java.io.IOException
public void writeUINT32(long val) throws java.io.IOException
val
- the value to write.
java.io.IOException
public void writeUINT16(int val) throws java.io.IOException
val
- the value to write.
java.io.IOException
public void writeUINT8(int val) throws java.io.IOException
val
- the value to write.
java.io.IOException
public long getCount()
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |