C# Class Server.Network.BufferPool

Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AcquireBuffer ( ) : byte[]
Résultat byte[]

BufferPool() public méthode

public BufferPool ( string name, int initialCapacity, int bufferSize ) : System.Collections.Generic
name string
initialCapacity int
bufferSize int
Résultat System.Collections.Generic

Free() public méthode

public Free ( ) : void
Résultat void

GetInfo() public méthode

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
Résultat void

ReleaseBuffer() public méthode

public ReleaseBuffer ( byte buffer ) : void
buffer byte
Résultat void