deepCopy
Deep copy of ByteBuffer from IBufferPool.
Don't forget to put the returned ByteBuffer to the buffer pool when you are done with it.
Return
ByteBuffer deep copy
Parameters
pool
IBufferPool to use
Deprecated
Use ByteBufferPool instead
Deep copy of ByteBuffer. The position of the original ByteBuffer will be 0 after the clone.