Diffusion .NET Classic API - Core and Common
5.9.24
|
Helper class for byte buffer allocations. More...
Public Member Functions | |
ByteBuffer | Allocate (int capacity) |
Allocates a buffer given the capacity. More... | |
void | Dispose () |
Disposes of any resources. More... | |
ByteBuffer | Wrap (byte[] src, bool setPosition, bool autoExpand) |
Helper class for byte buffer allocations.
ByteBuffer PushTechnology.DiffusionCore.Buffering.ByteBufferAllocator.Allocate | ( | int | capacity | ) |
Allocates a buffer given the capacity.
capacity |
Implements PushTechnology.DiffusionCore.Buffering.IByteBufferAllocator.
void PushTechnology.DiffusionCore.Buffering.ByteBufferAllocator.Dispose | ( | ) |
Disposes of any resources.
ByteBuffer PushTechnology.DiffusionCore.Buffering.ByteBufferAllocator.Wrap | ( | byte[] | src, |
bool | setPosition, | ||
bool | autoExpand | ||
) |
src | |
setPosition | |
autoExpand |
Implements PushTechnology.DiffusionCore.Buffering.IByteBufferAllocator.