Ejemplo n.º 1
0
		protected override void WithContent(AbstractBufferContext context, IRunnable runnable
			)
		{
			int address = context.ReadInt();
			int length = context.ReadInt();
			if (address == 0)
			{
				return;
			}
			IReadBuffer temp = context.Buffer();
			ByteArrayBuffer indirectedBuffer = Container(context).DecryptedBufferByAddress(address
				, length);
			context.Buffer(indirectedBuffer);
			runnable.Run();
			context.Buffer(temp);
		}
Ejemplo n.º 2
0
		protected virtual void WithContent(AbstractBufferContext context, IRunnable runnable
			)
		{
			runnable.Run();
		}
Ejemplo n.º 3
0
			public _IRunnable_80(ArrayHandler _enclosing, AbstractBufferContext context, ArrayInfo
				 info, IRunnable elementRunnable)
			{
				this._enclosing = _enclosing;
				this.context = context;
				this.info = info;
				this.elementRunnable = elementRunnable;
			}
Ejemplo n.º 4
0
		protected virtual ArrayInfo ForEachElement(AbstractBufferContext context, IRunnable
			 elementRunnable)
		{
			ArrayInfo info = NewArrayInfo();
			WithContent(context, new _IRunnable_80(this, context, info, elementRunnable));
			return info;
		}