/** * @param aLong the double precision integer to be written */ public void write(Long aLong) { writeInteger64ToByteArray(aLong); }
/** * Write a double into the byte stream (8 bytes). * @param aDouble double precision floating point number to be written */ public void write(Double aDouble) { writeInteger64ToByteArray(Double.doubleToRawLongBits(aDouble)); }
/** * @param timestamp the timestamp to be written */ public void write(Date timestamp) { writeInteger64ToByteArray(javaToNtpTimeStamp(timestamp.getTime())); }