Пример #1
0
 public MemorySegmentCollection(MemoryChunk chunk, bool recycle) : this(new List <MemoryChunk> {
     chunk
 }, recycle)
 {
 }
Пример #2
0
 public LazinatorMemory(MemoryChunk memoryChunk) : this(memoryChunk, 0, memoryChunk.ReadOnlyMemory.Length)
 {
 }
Пример #3
0
 public override void AppendMemoryChunk(MemoryChunk memoryChunk)
 {
     base.AppendMemoryChunk(memoryChunk);
     Segments.Add(new MemoryBlockIDAndSlice(memoryChunk.MemoryBlockID, 0, memoryChunk.Length));
 }
Пример #4
0
 public LazinatorMemory(MemoryChunk memoryChunk, long length) : this(memoryChunk, 0, length)
 {
 }