BufferAllocator
object is used to provide a means to allocate buffers using a single underlying buffer. This uses a buffer from a existing allocator to create the region of memory to use to allocate all other buffers. As a result this allows a single buffer to acquire the bytes in a number of associated buffers. This has the advantage of allowing bytes to be read in sequence without joining data from other buffers or allocating multiple regions.
@author Niall Gallagher
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|