Help us shape the future of Go! Take the 2026 Go Developer Survey

mbuffer

package
v0.57.21 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MBuffer

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

MBuffer is a bytes slice that is allocated on-demand. The zero value is valid.

func (*MBuffer) GetOrAllocate

func (b *MBuffer) GetOrAllocate(size int) []byte

GetOrAllocate gets or allocates a buffer with given size.

Jump to

Keyboard shortcuts

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