C# Класс CqlSharp.Memory.MemoryPool

Pool of memory buffers
Показать файл Открыть проект

Открытые методы

Метод Описание
Return ( byte buffer ) : void

Returns the specified buffer.

Take ( int size ) : byte[]

Takes a buffer from the pool, or creates one if the pool is empty, or requested size is larger than BufferSize

ToString ( ) : string

Защищенные методы

Метод Описание
MemoryPool ( ) : System

Initializes a new instance of the MemoryPool class.

Описание методов

MemoryPool() защищенный Метод

Initializes a new instance of the MemoryPool class.
protected MemoryPool ( ) : System
Результат System

Return() публичный Метод

Returns the specified buffer.
public Return ( byte buffer ) : void
buffer byte The buffer.
Результат void

Take() публичный Метод

Takes a buffer from the pool, or creates one if the pool is empty, or requested size is larger than BufferSize
public Take ( int size ) : byte[]
size int
Результат byte[]

ToString() публичный Метод

public ToString ( ) : string
Результат string