|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataOutput
This class is part of the Egothor Project
Method Summary | |
---|---|
void |
copyFrom(DataInput in,
int length)
Copies bytes of a given length from input stream. |
void |
printUTFS(java.lang.String str,
int firstIndex,
int lastIndex)
Prints a string portion. |
void |
write(byte[] buf,
int offset,
int len)
|
void |
writeBoolean(boolean value)
|
void |
writeByte(int val)
Write the given byte, which will be converted to Pack7 format. |
void |
writeFully(byte[] buf)
Description of the Method |
void |
writeInt(int val)
Description of the Method |
void |
writeLong(long val)
Description of the Method |
void |
writePack7(long val)
Write the given long, which will be converted to Pack7 format. |
void |
writePack7I(int val)
Write the given integer, which will be converted to Pack7 format. |
void |
writeShort(int val)
Description of the Method |
void |
writeString(int from,
java.lang.String str)
Write a string as length (pack7) followed by UTF code of the string. |
long |
written()
|
Method Detail |
---|
long written()
void write(byte[] buf, int offset, int len) throws java.io.IOException
java.io.IOException
void writeByte(int val) throws java.io.IOException
val
- the long to convert and write
java.io.IOException
- if an I/O error occursvoid writeLong(long val) throws java.io.IOException
val
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid writeInt(int val) throws java.io.IOException
val
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid writeShort(int val) throws java.io.IOException
val
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid writeFully(byte[] buf) throws java.io.IOException
buf
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid writePack7(long val) throws java.io.IOException
val
- the long to convert and write
java.io.IOException
- if an I/O error occursvoid writePack7I(int val) throws java.io.IOException
val
- the integer to convert and write
java.io.IOException
- if an I/O error occursvoid writeString(int from, java.lang.String str) throws java.io.IOException
from
- Description of the Parameterstr
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid printUTFS(java.lang.String str, int firstIndex, int lastIndex) throws java.io.IOException
firstIndex
- Description of the ParameterlastIndex
- Description of the Parameterstr
- Description of the Parameter
java.io.IOException
- Description of the Exceptionvoid writeBoolean(boolean value) throws java.io.IOException
java.io.IOException
void copyFrom(DataInput in, int length) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |