C# 클래스 Server.Network.BufferPool

파일 보기 프로젝트 열기: Grimoric/RunUO.T2A 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AcquireBuffer() 공개 메소드

public AcquireBuffer ( ) : byte[]
리턴 byte[]

BufferPool() 공개 메소드

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

Free() 공개 메소드

public Free ( ) : void
리턴 void

GetInfo() 공개 메소드

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
리턴 void

ReleaseBuffer() 공개 메소드

public ReleaseBuffer ( byte buffer ) : void
buffer byte
리턴 void