Example #1
0
            public override byte PeekByte(long addr)
            {
                if ((ulong)addr < (ulong)Size)
                {
                    using (_monitor.EnterExit())
                    {
                        return(((byte *)_data)[addr ^ _addressMangler]);
                    }
                }

                throw new ArgumentOutOfRangeException(nameof(addr));
            }