package
Version:
v4.6.2+incompatible
Opens a new window with list of versions in this module.
Published: Nov 23, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Alloc returns a byte slice with at least the given size. Minimum size of returned slice is 2048.
Free puts a byte slice into the internal pool.
GetPool returns a sync.Pool that generates bytes array with at least the given size.
It may return nil if no such pool exists.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.