public _IRunnable_80(ArrayHandler _enclosing, AbstractBufferContext context, ArrayInfo info, IRunnable elementRunnable) { this._enclosing = _enclosing; this.context = context; this.info = info; this.elementRunnable = elementRunnable; }
protected virtual ArrayInfo ForEachElement(AbstractBufferContext context, IRunnable elementRunnable) { ArrayInfo info = NewArrayInfo(); WithContent(context, new _IRunnable_80(this, context, info, elementRunnable)); return(info); }
protected override void WithContent(AbstractBufferContext context, IRunnable runnable ) { var address = context.ReadInt(); var length = context.ReadInt(); if (address == 0) { return; } var temp = context.Buffer(); var indirectedBuffer = Container(context).DecryptedBufferByAddress(address , length); context.Buffer(indirectedBuffer); runnable.Run(); context.Buffer(temp); }
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); }
protected virtual void WithContent(AbstractBufferContext context, IRunnable runnable ) { runnable.Run(); }
protected virtual ArrayInfo ForEachElement(AbstractBufferContext context, IRunnable elementRunnable) { var info = NewArrayInfo(); WithContent(context, new _IRunnable_80(this, context, info, elementRunnable)); return info; }