public static int putDouble(byte[] bytes, int offset, double d) {
    return putLong(bytes, offset, Double.doubleToLongBits(d));
  }
Put a double value out to the specified byte array position as the IEEE 754 double format.
@param bytes  byte array
@param offset offset to write to
@param d      value
@return New offset into array <code>bytes</code>
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java