C# (CSharp) ServiceStack.Text RecyclableMemoryStreamManager - 4 примера найдено. Это лучшие примеры C# (CSharp) кода для ServiceStack.Text.RecyclableMemoryStreamManager, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Похожие
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.