Code example for BigInteger

Methods: longValue

0
			return; 
		} 
		 
		long millisecs = timestamp.getTime();
		long secsSince1970 = (long) (millisecs / 1000);
		long secs = secsSince1970 + SECONDS_FROM_1900_to_1970.longValue();
			// the next line was cribbed from jakarta commons-net's NTP TimeStamp code 
		long fraction = ((millisecs % 1000) * 0x100000000L) / 1000;
		 
		stream.write((int) secs);
		stream.write((int) fraction);
	} 
 
	/** 
	 * Compute the OSC byte stream representation of the bundle. Used Internally. 
	 * @param stream OscPacketByteArrayConverter 
	 */ 
	protected void computeByteArray(OSCJavaToByteArrayConverter stream) {
		stream.write("#bundle");
		computeTimeTagByteArray(stream);
Connect your IDE to all the code out there  Get Codota for Java