@Override
	public int read(byte[] b, int off, int len) throws IOException {
		int bytesRead = delegate.read(b, off, len);

		for (int i = 0; i < bytesRead; i++, currentPosition++) {
			int xorMaskIndex =
				(int) (currentPosition % ObfuscatedFileByteProvider.XOR_MASK_BYTES.length);
			byte xorMask = ObfuscatedFileByteProvider.XOR_MASK_BYTES[xorMaskIndex];
			b[off + i] ^= xorMask;

		}
		return bytesRead;
	}
Creates instance.

@param delegate {@link InputStream} to wrap
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/ObfuscatedInputStream.java