Method Summary |
|
String | decodeUTF(int utfSize) |
final public int | read(byte[] buffer) Reads bytes from the source stream into the byte array
buffer . |
final public int | read(byte[] buffer, int offset, int length) Read at most length bytes from this DataInputStream and
stores them in byte array buffer starting at
offset . |
final public boolean | readBoolean() Reads a boolean from this stream. |
final public byte | readByte() Reads an 8-bit byte value from this stream. |
final public char | readChar() |
final public double | readDouble() Reads a 64-bit double value from this stream. |
final public float | readFloat() Reads a 32-bit float value from this stream. |
final public void | readFully(byte[] buffer) Reads bytes from this stream into the byte array buffer . |
final public void | readFully(byte[] buffer, int offset, int length) Reads bytes from this stream and stores them in the byte array
buffer starting at the position offset . |
final public int | readInt() Reads a 32-bit integer value from this stream. |
final public String | readLine() Answers a String representing the next line of text
available in this BufferedReader. |
final public long | readLong() Reads a 64-bit long value from this stream. |
final public short | readShort() Reads a 16-bit short value from this stream. |
final public String | readUTF() Reads a UTF format String from this Stream. |
final public static String | readUTF(DataInput in) Reads a UTF format String from the DataInput Stream in . |
final public int | readUnsignedByte() Reads an unsigned 8-bit byte value from this stream and
returns it as an int. |
final public int | readUnsignedShort() Reads a 16-bit unsigned short value from this stream and
returns it as an int. |
final public int | skipBytes(int count) Skips count number of bytes in this stream. |