1.数据流
DataOutputStream dos=new DataOutputStream(new ByteArryaOutputStream());
dos.writeDouble(Math.random()); dos.writeBoolean(true);
DataInputStream dos=new DataInputStream(new ByteArryaInputStream());
dos.readDouble(); dos.readBoolean(); //先进先出 队列