Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DoubleByteSlicePool = new(sync.Pool)
DoubleByteSlicePool represents the memory pool for 2d byte slices.
Functions ¶
func GetDoubleByteSlice ¶
GetDoubleByteSlice retrieves the 2d byte slice of the desired size from the memory pool.
func PutDoubleByteSlice ¶
func PutDoubleByteSlice(data [][]byte)
PutDoubleByteSlice places the provided 2d byte slice in the memory pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.