3 packages returned for Tags:"MemoryPool"

Fixed length implementation of MemoryPool<T>
  • 1,398 total downloads
  • last updated 1/11/2019
  • Latest version: 2.0.1.6-g83eba8e
  • memorypool pool memory
When you request buffer of size N from `System.Buffers.MemoryPool<T>` returns `IMemoryOwner<T>` which can hold `Memory<T>` at least N elements. That proves to be a problem in some scenarios like passing serialized data back to your users. You need to pass them one more field: actual length of data.... More information