Get returns a byte slice with at least sz capacity. Length of the slice is not guaranteed and so must be asserted by callers (cache clients).
(sz int)
| 87 | // Get returns a byte slice with at least sz capacity. Length of the slice is |
| 88 | // not guaranteed and so must be asserted by callers (cache clients). |
| 89 | Get(sz int) *[]byte |
| 90 | // Put returns the byte slice to the underlying allocator. The cache clients |
| 91 | // will only call this method during error handling when allocated values are |
| 92 | // not returned to the caller as cache results. |
no outgoing calls