|byte|| writeByte(int v); |
|char, string|| writeChar(int v); |
Java also provides a corresponding DataInputStream, which will allow you to read data back. This means you can write a data structure out to a disk or network connection, and read it back at a later date.
Posted in: Java