Свойство | Тип | Описание | |
---|---|---|---|
EmptyBuffer | byte[] |
Метод | Описание | |
---|---|---|
BufferManager ( ) : System |
The class that controls the allocating and deallocating of all byte[] buffers used in the engine.
|
|
FreeBuffer ( byte buffer ) : void | ||
GetBuffer ( int minCapacity ) : byte[] | ||
GetBuffer ( byte &buffer, int minCapacity ) : void |
Allocates an existing buffer from the pool
|
Метод | Описание | |
---|---|---|
AllocateBuffers ( int number, BufferType type ) : void | ||
GetBuffer ( byte &buffer, BufferType type ) : void |
Allocates an existing buffer from the pool
|
public GetBuffer ( int minCapacity ) : byte[] | ||
minCapacity | int | |
Результат | byte[] |
public GetBuffer ( byte &buffer, int minCapacity ) : void | ||
buffer | byte | The byte[]you want the buffer to be assigned to |
minCapacity | int | The minimum capacity. |
Результат | void |