bufferpool

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	Data []byte
	// contains filtered or unexported fields
}

func (Buffer) Release

func (b Buffer) Release()

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func New

func New(buflen int) *Pool

func (*Pool) Get

func (p *Pool) Get(datalen int) Buffer

Jump to

Keyboard shortcuts

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