public static byte[] toPrimitive(Byte[] bytes) {

		byte[] retList = new byte[bytes.length];
		for (int i = 0; i < bytes.length; i++) {
			retList[i] = bytes[i].byteValue();
		}

		return retList;
	}
Converts a {@link Byte} array to a {@link byte} array.

@param bytes
@return
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/util/InstructionSearchUtils.java