Get gets a []byte from default allocator with most appropriate cap.
(size int)
| 20 | |
| 21 | // Get gets a []byte from default allocator with most appropriate cap. |
| 22 | func Get(size int) []byte { |
| 23 | return _allocator.Get(size) |
| 24 | } |
| 25 | |
| 26 | // Put returns a []byte to default allocator for future use. |
| 27 | func Put(buf []byte) error { |
no test coverage detected