Name
java.io.DataInput
Synopsis
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; }
Get Wireless Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.