buffer

package
v0.0.0-...-88b4fc5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSmallBytesLen = 4

Variables

View Source
var SmallBytesPool sync.Pool = sync.Pool{
	New: func() interface{} {
		return NewSmallBytes(DefaultSmallBytesLen)
	},
}

Functions

This section is empty.

Types

type SmallBytes

type SmallBytes struct {
	Data []byte
}

func NewSmallBytes

func NewSmallBytes(len int64) *SmallBytes

func (*SmallBytes) Release

func (s *SmallBytes) Release()

Jump to

Keyboard shortcuts

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