package
Version:
v0.0.0-...-80248e1
Opens a new window with list of versions in this module.
Published: Dec 17, 2025
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
¶
func MakeByteSlice(size int) []byte
MakeByteSlice 分配byte切片
返回 nil 表示分配失败
[NOTE] 返回的数据,不可以append.否则会丢失原指针,导致无法正确回收
func ReleaseByteSlice(byteBuff []byte) bool
ReleaseByteSlice 回收
Source Files
¶
Click to show internal directories.
Click to hide internal directories.