Esempio n. 1
0
 public unsafe bool TryGetPointer(out void* pointer)
 {
     if (!_owner.TryGetPointerInternal(_id, out pointer)) {
         return false;
     }
     pointer = Memory<T>.Add(pointer, _index);
     return true;
 }
Esempio n. 2
0
 public unsafe bool TryGetPointer(out void *pointer)
 {
     if (!_owner.TryGetPointerInternal(_id, out pointer))
     {
         return(false);
     }
     pointer = Add(pointer, _index);
     return(true);
 }