code: public static final double getDouble(byte[] data, int offset)
     {
        double result = Double.longBitsToDouble(getLong(data, offset));
        if (Double.isNaN(result))
        {
           result = 0;
        }
        return result;
     }
docs: This method reads an eight byte double from the input array.
  
  @param data the input array
  @param offset offset of double data in the array
  @return double value