bufferpool

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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