메소드 | 설명 | |
---|---|---|
BufferPool ( int bufferSize ) : System |
Initializes a new instance of the BufferPool class.
|
|
Dequeue ( ) : byte[] |
Get a buffer. Will create one if queue is empty. |
|
Enqueue ( byte buffer ) : void |
Enqueues the specified buffer.
|
메소드 | 설명 | |
---|---|---|
CreateBuffer ( ) : byte[] |
Creates the buffer.
|
public BufferPool ( int bufferSize ) : System | ||
bufferSize | int | How large buffers to allocate. |
리턴 | System |