internal

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BufferSize = 4 * 1024

Variables

This section is empty.

Functions

func GetBuffer

func GetBuffer() *bytes.Buffer

func PutBuffer

func PutBuffer(b *bytes.Buffer)

Types

type CloserWrapper

type CloserWrapper struct {
	B *bytebufferpool.ByteBuffer
	R io.Reader
}

func (*CloserWrapper) Bytes added in v1.6.6

func (c *CloserWrapper) Bytes() []byte

func (*CloserWrapper) Close

func (c *CloserWrapper) Close() error

func (*CloserWrapper) Read

func (c *CloserWrapper) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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