question: public void writeDouble ( double value ) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; DataOutputStream dout = new DataOutputStream ( baos ) ; dout . writeDouble ( value ) ; dout . flush ( ) ; byte [ ] bytes = baos . toByteArray ( ) ; byte [ ] bytes2 = new byte [ 8 ] ; bytes2 [ 0 ] = bytes [ 3 ] ; bytes2 [ 1 ] = bytes [ 2 ] ; bytes2 [ 2 ] = bytes [ 1 ] ; bytes2 [ 3 ] = bytes [ 0 ] ; bytes2 [ 4 ] = bytes [ 7 ] ; bytes2 [ 5 ] = bytes [ 6 ] ; bytes2 [ 6 ] = bytes [ 5 ] ; bytes2 [ 7 ] = bytes [ 4 ] ; write ( bytes2 ) ; }
target:  Write a double value