Пример #1
0
 public Owned(IMemoryOwner <T>[] memoryOwners, int bufferLength, long totalLength, bool swappable)
     : base(bufferLength, totalLength)
 {
     this.memoryOwners         = memoryOwners;
     this.Swappable            = swappable;
     this.View                 = new MemoryGroupView <T>(this);
     this.memoryGroupSpanCache = MemoryGroupSpanCache.Create(memoryOwners);
 }