@Override
	public final BigInteger getBigInteger(byte[] b, int offset, int size, boolean signed) {
		Objects.checkFromIndexSize(offset, size, b.length);

		if (offset != 0 || size != b.length) {
			int index = 0;
			if (!signed && b[offset] < 0) {
				// keep unsigned - prepend 0 byte
				++size;
				index = 1;
			}
			byte[] bytes = new byte[size];
			System.arraycopy(b, offset, bytes, index, size - index);
			b = bytes;
		}
		else if (!signed && b[0] < 0) {
			// keep unsigned - prepend 0 byte
			byte[] bytes = new byte[size + 1];
			System.arraycopy(b, 0, bytes, 1, size);
			b = bytes;
		}
		return new BigInteger(b);
	}
Don't use this constructor to create new instances of this class.  Use the static {@link #INSTANCE} instead.
Ghidra/Framework/Generic/src/main/java/ghidra/util/BigEndianDataConverter.java