Put returns a buffer to the pool. The provided pointer must hold a prefix of the buffer obtained via BufferPool.Get to ensure the buffer's entire capacity can be re-used.
(*[]byte)
| 45 | // The provided pointer must hold a prefix of the buffer obtained via |
| 46 | // BufferPool.Get to ensure the buffer's entire capacity can be re-used. |
| 47 | Put(*[]byte) |
| 48 | } |
| 49 | |
| 50 | // BinaryTieredBufferPool is a buffer pool that uses multiple sub-pools with |
no outgoing calls