DataInputStream « java.io « Java by API






1.new DataInputStream(FileInputStream fileInputStream)
2.new DataInputStream(new BufferedInputStream(new FileInputStream("temp.tmp")))
3.DataInputStream: readBoolean()
4.DataInputStream: readByte()
5.DataInputStream: readChar()
6.DataInputStream: readDouble()
7.DataInputStream: readFloat()
8.DataInputStream: readInt()
9.DataInputStream: readLong()








10.DataInputStream: readShort()
11.DataInputStream: readUnsignedShort()
12.DataInputStream: readUTF()