January 2002
Intermediate to advanced
264 pages
8h 3m
English
java.io.DataInput
This interface is a slightly smaller version of its J2SE counterpart. It defines methods to read primitive data types from a platform-dependent binary format.
public interfaceDataInput{ // public methods public booleanreadBoolean() throws java.io.IOException; public bytereadByte() throws java.io.IOException; public charreadChar() throws java.io.IOException; public voidreadFully(byte[] b) throws java.io.IOException; public voidreadFully(byte[] b, int off, int len) throws java.io.IOException; public intreadInt() throws java.io.IOException; public longreadLong() throws java.io.IOException; public shortreadShort() throws java.io.IOException; public intreadUnsignedByte() throws java.io.IOException; public intreadUnsignedShort() throws java.io.IOException; public StringreadUTF() throws java.io.IOException; public intskipBytes(int n) throws java.io.IOException; }
Read now
Unlock full access