buffer

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Size = 1 << 14

Size denotes the size of all buffers.

Variables

This section is empty.

Functions

func Put

func Put(b *Buffer)

Put releases the buffer

Types

type Buffer

type Buffer [Size]byte

func Get

func Get() *Buffer

Get returns an available packet buffer.

Jump to

Keyboard shortcuts

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