A data buffer pool interface. More...
Instance Methods | |
(FMLiveSwitchDataBuffer *) | - takeWithSize: |
Takes a buffer from the pool. More... | |
(FMLiveSwitchDataBuffer *) | - takeWithSize:littleEndian: |
Takes a buffer from the pool. More... | |
(FMLiveSwitchDataBuffer *) | - takeWithSize:littleEndian:clearBytes: |
Takes a buffer from the pool. More... | |
A data buffer pool interface.
- (FMLiveSwitchDataBuffer*) takeWithSize: | (int) | size |
Takes a buffer from the pool.
size | The number of bytes needed. |
Reimplemented in FMLiveSwitchDataBufferPoolTracer, and FMLiveSwitchDataBufferPool.
- (FMLiveSwitchDataBuffer*) takeWithSize: | (int) | size | |
littleEndian: | (bool) | littleEndian | |
Takes a buffer from the pool.
size | The number of bytes needed. |
littleEndian | Whether the data buffer should be little-endian. |
Reimplemented in FMLiveSwitchDataBufferPoolTracer, and FMLiveSwitchDataBufferPool.
- (FMLiveSwitchDataBuffer*) takeWithSize: | (int) | size | |
littleEndian: | (bool) | littleEndian | |
clearBytes: | (bool) | clearBytes | |
Takes a buffer from the pool.
size | The number of bytes needed. |
littleEndian | Whether the data buffer should be little-endian. |
clearBytes | Whether to clear the data buffer. |
Reimplemented in FMLiveSwitchDataBufferPoolTracer, and FMLiveSwitchDataBufferPool.