NopBufferPool is a buffer pool that returns new buffers without pooling.
| 198 | |
| 199 | // NopBufferPool is a buffer pool that returns new buffers without pooling. |
| 200 | type NopBufferPool struct{} |
| 201 | |
| 202 | // Get returns a buffer with specified length from the pool. |
| 203 | func (NopBufferPool) Get(length int) *[]byte { |
nothing calls this directly
no outgoing calls
no test coverage detected