public static byte[] longToByteArray(long l) {
		byte[] bytes = new byte[8];
		BigEndianDataConverter.INSTANCE.putLong(bytes, 0, l);
		return bytes;
	}
Converts a {@code long} value to an byte array of length 8.  The most significant byte
of the long will be at position 0 of the resulting array.
@param l long
@return byte array
Ghidra/Features/Base/src/main/java/ghidra/util/SourceFileUtils.java