private byte[] getBigEndianBytes(byte[] bytes, int index, boolean isBigEndian, int byteSize) {
		byte[] bigEndianBytes = new byte[byteSize];
		System.arraycopy(bytes, index * byteSize, bigEndianBytes, 0, byteSize);
		if (!isBigEndian) {
			reverse(bigEndianBytes);
		}
		return bigEndianBytes;
	}
{@link SearchFormat} for parsing and display bytes in a decimal format. It supports sizes of
2,4,8,16 and can be either signed or unsigned.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/DecimalSearchFormat.java