package
Version:
v0.0.0-...-303e327
Opens a new window with list of versions in this module.
Published: May 22, 2023
License: Apache-2.0
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 bytes slice with the size.
Make a new bytes slice if oversize.
Free puts the bytes slice into suitable pool.
Discard the bytes slice if oversize.
GetPool returns a sync.Pool that generates bytes slice with the size.
Return nil if no such pool exists.
Zero clean up the bytes slice b to zero.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.