Свойство | Type | Description | |
---|---|---|---|
EmptyBuffer | byte[] |
Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
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 | |
Résultat | 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. |
Résultat | void |