bufpool

package
v0.0.0-...-c0ffc74 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2015 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func New

func New() *Buffer

func (*Buffer) Free

func (b *Buffer) Free()

func (*Buffer) Get

func (b *Buffer) Get(buf []byte) []byte

func (*Buffer) GoString

func (b *Buffer) GoString() string

func (*Buffer) Len

func (b *Buffer) Len() int

func (*Buffer) RawBytes

func (b *Buffer) RawBytes() []byte

func (*Buffer) Set

func (b *Buffer) Set(buf []byte) *Buffer

func (*Buffer) SetLen

func (b *Buffer) SetLen(n int) *Buffer

func (*Buffer) String

func (b *Buffer) String() string

func (*Buffer) WriteTo

func (b *Buffer) WriteTo(w io.Writer) (int, error)

Jump to

Keyboard shortcuts

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