private void setPos(long newPos) throws SevenZipException {
		if (newPos < 0) {
			throw new SevenZipException("Invalid offset: " + newPos);
		}
		position = newPos;
	}
Adapter from Ghidra's {@link ByteProvider} to SZ's {@link IInStream}
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/sevenzip/SZByteProviderStream.java