bbuf

package
v0.0.0-...-6c79d2d Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(b []byte) (cpy []byte)

func Make

func Make(size int) []byte

func Put

func Put(b *[]byte)

Types

type BuffersPool

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

func NewBuffersPool

func NewBuffersPool() *BuffersPool

func (*BuffersPool) Copy

func (bp *BuffersPool) Copy(b []byte) (cpy []byte)

func (*BuffersPool) Get

func (bp *BuffersPool) Get(size int) []byte

func (*BuffersPool) Put

func (bp *BuffersPool) Put(b *[]byte)

Jump to

Keyboard shortcuts

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