unuse

package
v0.0.0-...-80248e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeByteSlice

func MakeByteSlice(size int) []byte

MakeByteSlice 分配byte切片

返回 nil 表示分配失败
[NOTE] 返回的数据,不可以append.否则会丢失原指针,导致无法正确回收

func ReleaseByteSlice

func ReleaseByteSlice(byteBuff []byte) bool

ReleaseByteSlice 回收

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL