bytes

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: OSL-3.0 Imports: 2 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 NewBuffer

func NewBuffer(buf []byte) *Buffer

func (*Buffer) Next

func (b *Buffer) Next(n int) ([]byte, bool)

godocs.io/bytes#Buffer.Next

func (*Buffer) ReadBytes

func (b *Buffer) ReadBytes(delim byte) ([]byte, bool)

godocs.io/bytes#Buffer.ReadBytes

func (*Buffer) ReadUint16LengthPrefixed

func (b *Buffer) ReadUint16LengthPrefixed() ([]byte, []byte, bool)

godocs.io/golang.org/x/crypto/cryptobyte#String.ReadUint16LengthPrefixed

func (*Buffer) ReadUint32LengthPrefixed

func (b *Buffer) ReadUint32LengthPrefixed() ([]byte, []byte, bool)

github.com/golang/go/issues/49227

Jump to

Keyboard shortcuts

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