1、public DataInputStream(InputStream in);使用字节数输入流来创建对象
2、public final int read(byte[] r, int off, int len)throws IOException;从所包含的输入流中将len个字节读入一个字节数组中。如果len为-1,则返回已读字节数。
3、public final int read(byte b[], int off, int len) throws IOExceptio荏鱿胫协n;从所包含的输入流中读取一定数量的字节,并将它们存储到缓冲区数组b中。
4、public final void readFully(byte b[]) throws IOException读取数据直到装满
5、public String readLine() throws IOException从输入流中读取一行。