C# (CSharp) ServiceStack.Text RecyclableMemoryStreamManager - 4 examples found. These are the top rated real world C# (CSharp) examples of ServiceStack.Text.RecyclableMemoryStreamManager extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Manages pools of RecyclableMemoryStream objects.
There are two pools managed in here. The small pool contains same-sized buffers that are handed to streams as they write more data. For scenarios that need to call GetBuffer(), the large pool contains buffers of various sizes, all multiples of LargeBufferMultiple (1 MB by default). They are split by size to avoid overly-wasteful buffer usage. There should be far fewer 8 MB buffers than 1 MB buffers, for example.