public static long sleep(long timeMs) {

		long start = System.currentTimeMillis();
		try {
			Thread.sleep(timeMs);
		}
		catch (InterruptedException e) {
			// don't care
		}

		long end = System.currentTimeMillis();
		return end - start;
	}
Friendly way to create an array of bytes with static values.

@param unsignedBytes var-args list of unsigned byte values (ie. 0..255)
@return array of bytes
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGTest.java