bytespool

package
v3.37.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alloc

func Alloc(size int32) []byte

Alloc returns a byte slice with at least the given size. Minimum size of returned slice is 2048.

func Free

func Free(b []byte)

Free puts a byte slice into the internal pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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