C# Class Server.Network.BufferPool

Exibir arquivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
AcquireBuffer ( ) : byte[]
BufferPool ( string name, int initialCapacity, int bufferSize ) : System.Collections.Generic
Free ( ) : void
GetInfo ( string &name, int &freeCount, int &initialCapacity, int &currentCapacity, int &bufferSize, int &misses ) : void
ReleaseBuffer ( byte buffer ) : void

Method Details

AcquireBuffer() public method

public AcquireBuffer ( ) : byte[]
return byte[]

BufferPool() public method

public BufferPool ( string name, int initialCapacity, int bufferSize ) : System.Collections.Generic
name string
initialCapacity int
bufferSize int
return System.Collections.Generic

Free() public method

public Free ( ) : void
return void

GetInfo() public method

public GetInfo ( string &name, int &freeCount, int &initialCapacity, int &currentCapacity, int &bufferSize, int &misses ) : void
name string
freeCount int
initialCapacity int
currentCapacity int
bufferSize int
misses int
return void

ReleaseBuffer() public method

public ReleaseBuffer ( byte buffer ) : void
buffer byte
return void