Table of Contents

Interface IBufferPool

Namespace
Alis.Core.Network
Assembly
Alis.dll

The buffer pool interface

public interface IBufferPool

Methods

GetBuffer()

Gets a MemoryStream built from a buffer plucked from a thread safe pool The pool grows automatically. Closing the memory stream clears the buffer and returns it to the pool

MemoryStream GetBuffer()

Returns

MemoryStream