public class DataInputStream extends Object
| Constructor and Description |
|---|
DataInputStream(InputStream stream) |
public DataInputStream(InputStream stream)
public long readLong()
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic short readShort()
throws IOException
IOExceptionpublic byte readByte()
throws IOException
IOExceptionpublic char readChar()
throws IOException
IOExceptionpublic int read(byte[] b)
throws IOException
IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic String readString(int length) throws IOException
IOExceptionCopyright © 2016. All rights reserved.