Ejemplo n.º 1
0
        internal unsafe Result_Accessor_ReadOnly(byte *_CellPtr, ResizeFunctionPrototype func)
        {
            CellPtr        = _CellPtr;
            ResizeFunction = func;

            matchPersons_Accessor_Field = new longList(null,
                                                       (ptr, ptr_offset, delta) =>
            {
                int substructure_offset = (int)(ptr - this.CellPtr);
                this.CellPtr            = this.ResizeFunction(this.CellPtr, ptr_offset + substructure_offset, delta);
                return(this.CellPtr + substructure_offset);
            });
        }
Ejemplo n.º 2
0
        internal unsafe DistanceUpdatingMessage_Accessor_ReadOnly(byte *_CellPtr, ResizeFunctionPrototype func)
        {
            CellPtr        = _CellPtr;
            ResizeFunction = func;

            recipients_Accessor_Field = new longList(null,
                                                     (ptr, ptr_offset, delta) =>
            {
                int substructure_offset = (int)(ptr - this.CellPtr);
                this.CellPtr            = this.ResizeFunction(this.CellPtr, ptr_offset + substructure_offset, delta);
                return(this.CellPtr + substructure_offset);
            });
        }
Ejemplo n.º 3
0
        internal unsafe NameRequest_Accessor(byte *_CellPtr, ResizeFunctionPrototype func)
        {
            CellPtr        = _CellPtr;
            ResizeFunction = func;

            name_Accessor_Field = new BlobString(null,
                                                 (ptr, ptr_offset, delta) =>
            {
                int substructure_offset = (int)(ptr - this.CellPtr);
                this.CellPtr            = this.ResizeFunction(this.CellPtr, ptr_offset + substructure_offset, delta);
                return(this.CellPtr + substructure_offset);
            });

            neighbours_Accessor_Field = new longList(null,
                                                     (ptr, ptr_offset, delta) =>
            {
                int substructure_offset = (int)(ptr - this.CellPtr);
                this.CellPtr            = this.ResizeFunction(this.CellPtr, ptr_offset + substructure_offset, delta);
                return(this.CellPtr + substructure_offset);
            });
        }