Put returns byte buffer to the pool. ByteBuffer.B mustn't be touched after returning it to the pool. Otherwise data races will occur.
(b *ByteBuffer)
| 60 | // ByteBuffer.B mustn't be touched after returning it to the pool. |
| 61 | // Otherwise data races will occur. |
| 62 | func Put(b *ByteBuffer) { defaultPool.Put(b) } |
| 63 | |
| 64 | // Put releases byte buffer obtained via Get to the pool. |
| 65 | // |