/** * @param bytes byte array * @param offset offset to write to * @param d value * @return New offset into array <code>bytes</code> */ public static int putDouble(byte [] bytes, int offset, double d) { return putLong(bytes, offset, Double.doubleToLongBits(d)); }
/** * @param bytes byte array * @param offset offset to write to * @param d value * @return New offset into array <code>bytes</code> */ public static int putDouble(byte [] bytes, int offset, double d) { return putLong(bytes, offset, Double.doubleToLongBits(d)); }