bufferpool

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package bufferpool maintains a pool of bytes.Buffers for use in encoding and transport implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *bytes.Buffer

Get returns a new Buffer from the Buffer pool that has been reset.

func Put

func Put(buf *bytes.Buffer)

Put returns a Buffer to the Buffer pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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