bytebuffer

package
v2.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Get returns an empty byte buffer from the pool, exported from gnet/bytebuffer.
	Get = bytebufferpool.Get
	// Put returns byte buffer to the pool, exported from gnet/bytebuffer.
	Put = func(b *ByteBuffer) {
		if b != nil {
			bytebufferpool.Put(b)
		}
	}
)

Functions

This section is empty.

Types

type ByteBuffer

type ByteBuffer = bytebufferpool.ByteBuffer

ByteBuffer is the alias of bytebufferpool.ByteBuffer.

Jump to

Keyboard shortcuts

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