private MemoryChunk AllocateMemoryChunk() { IMemoryOwner <byte> buffer = this.allocator.Allocate <byte>(this.chunkLength); return(new MemoryChunk { Buffer = buffer, Next = null, Length = buffer.Length() }); }
private MemoryChunk AllocateMemoryChunk() { IMemoryOwner <byte> buffer = this.allocator.Allocate <byte>(this.chunkLength); return(new MemoryChunk { Buffer = buffer, Next = null, Length = buffer.Length() }); }