public StructReader(Capnproto.SegmentReader segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { this.segment = segment; this.data = data; this.pointers = pointers; this.dataSize = dataSize; this.pointerCount = pointerCount; this.nestingLimit = nestingLimit; }
public ListReader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) { this.segment = segment; this.ptr = ptr; this.elementCount = elementCount; this.step = step; this.structDataSize = structDataSize; this.structPointerCount = structPointerCount; this.nestingLimit = nestingLimit; }
public StructReader() { //byte offset to data section //word offset of pointer section //in bits this.segment = Capnproto.SegmentReader.EMPTY; this.data = 0; this.pointers = 0; this.dataSize = 0; this.pointerCount = 0; this.nestingLimit = unchecked ((int)(0x7fffffff)); }
public ListReader() { // byte offset to front of list // in bits // in bits this.segment = null; this.ptr = 0; this.elementCount = 0; this.step = 0; this.structDataSize = 0; this.structPointerCount = 0; this.nestingLimit = unchecked ((int)(0x7fffffff)); }
public override Capnproto.EnumList.Reader <T> ConstructReader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) { return(new Capnproto.EnumList.Reader <T>(values, segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit)); }
protected internal T _getPointerField <T>(Capnproto.FromPointerBuilderRefDefault <T> factory, int index, Capnproto.SegmentReader defaultSegment, int defaultOffset) { return(factory.fromPointerBuilderRefDefault(this.segment, this.pointers + index, defaultSegment, defaultOffset)); }
public abstract Reader ConstructReader(Capnproto.SegmentReader arg1, int arg2, int arg3, int arg4, short arg5, int arg6);
public override Capnproto.PrimitiveList.Boolean.Reader ConstructReader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) { return(new Capnproto.PrimitiveList.Boolean.Reader(segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit)); }
public override Capnproto.StructList.Builder <ElementBuilder> fromPointerBuilderRefDefault(Capnproto.SegmentBuilder segment, int pointer, Capnproto.SegmentReader defaultSegment, int defaultOffset) { return(Capnproto.WireHelpers.getWritableStructListPointer(this, pointer, segment, SingleFactory.StructSize(), defaultSegment, defaultOffset)); }
public Capnproto.Data.Reader fromPointerReader(Capnproto.SegmentReader segment, int pointer, int nestingLimit) { return(Capnproto.WireHelpers.readDataPointer(segment, pointer, null, 0, 0)); }
public Reader(Capnproto.SegmentReader segment, int pointer, int nestingLimit) { this.segment = segment; this.pointer = pointer; this.nestingLimit = nestingLimit; }
protected internal T _getPointerField <T>(Capnproto.FromPointerReaderRefDefault <T> factory, int ptrIndex, Capnproto.SegmentReader defaultSegment, int defaultOffset) { if (ptrIndex < this.pointerCount) { return(factory.fromPointerReaderRefDefault(this.segment, this.pointers + ptrIndex, defaultSegment, defaultOffset, this.nestingLimit)); } return(factory.fromPointerReaderRefDefault(Capnproto.SegmentReader.EMPTY, 0, defaultSegment, defaultOffset, this.nestingLimit)); }
public sealed override Capnproto.TextList.Reader ConstructReader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) { return(new Capnproto.TextList.Reader(segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit)); }
public T GetRoot <T>(Capnproto.FromPointerReader <T> factory) { Capnproto.SegmentReader segment = this.arena.tryGetSegment(0); Capnproto.AnyPointer.Reader any = new Capnproto.AnyPointer.Reader(segment, 0, this.nestingLimit); return(any.GetAs(factory)); }
public Reader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) : base(segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit) { }
public Capnproto.AnyPointer.Reader fromPointerReader(Capnproto.SegmentReader segment, int pointer, int nestingLimit) { return(new Capnproto.AnyPointer.Reader(segment, pointer, nestingLimit)); }
public Reader fromPointerReaderRefDefault(Capnproto.SegmentReader segment, int pointer, Capnproto.SegmentReader defaultSegment, int defaultOffset, int nestingLimit) { return(Capnproto.WireHelpers.readStructPointer(this, segment, pointer, defaultSegment, defaultOffset, nestingLimit)); }
public Capnproto.Data.Reader fromPointerReaderBlobDefault(Capnproto.SegmentReader segment, int pointer, java.nio.ByteBuffer defaultBuffer, int defaultOffset, int defaultSize) { return(Capnproto.WireHelpers.readDataPointer(segment, pointer, defaultBuffer, defaultOffset, defaultSize)); }
public Reader fromPointerReader(Capnproto.SegmentReader segment, int pointer, int nestingLimit) { return(fromPointerReaderRefDefault(segment, pointer, null, 0, nestingLimit)); }
public override Capnproto.StructList.Reader <ElementReader> ConstructReader(Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) { return(new Capnproto.StructList.Reader <ElementReader>(SingleFactory, segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit)); }
public Builder fromPointerBuilderRefDefault(Capnproto.SegmentBuilder segment, int pointer, Capnproto.SegmentReader defaultSegment, int defaultOffset) { return(Capnproto.WireHelpers.getWritableStructPointer(this, pointer, segment, this.StructSize(), defaultSegment, defaultOffset)); }
public Reader(Capnproto.StructReader.Factory <T> factory, Capnproto.SegmentReader segment, int ptr, int elementCount, int step, int structDataSize, short structPointerCount, int nestingLimit) : base(segment, ptr, elementCount, step, structDataSize, structPointerCount, nestingLimit) { this.SingleFactory = factory; }
public virtual Builder fromPointerBuilderRefDefault(Capnproto.SegmentBuilder segment, int pointer, Capnproto.SegmentReader defaultSegment, int defaultOffset) { return(Capnproto.WireHelpers.getWritableListPointer(this, pointer, segment, this.elementSize, defaultSegment, defaultOffset)); }