示例#1
0
 protected internal T _initPointerField <T>(Capnproto.FromPointerBuilder <T> factory, int index, int elementCount)
 {
     return(factory.initFromPointerBuilder(this.segment, this.pointers + index, elementCount));
 }
示例#2
0
 public T InitAs <T>(Capnproto.FromPointerBuilder <T> factory)
 {
     return(factory.initFromPointerBuilder(this.segment, this.pointer, 0));
 }
示例#3
0
 protected internal T _initPointerElement <T>(Capnproto.FromPointerBuilder <T> factory, int index, int elementCount)
 {
     return(factory.initFromPointerBuilder(this.segment, (this.ptr + (int)((long)index * this.step / Capnproto.Constants.BITS_PER_BYTE)) / Capnproto.Constants.BYTES_PER_WORD, elementCount));
 }