packet

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()

Functions

This section is empty.

Types

type Interface

type Interface interface {
	HeadIsNil() bool
	Bytes() []byte
	String() string
	//empty() bool
	Len() int
	//Cap() int
	//Truncate(n int)
	Reset()
	// tryGrowByReslice(n int) (int, bool)
	// grow(n int) int
	//Grow(n int)
	Write(p []byte) (n int, err error)
	WriteString(s string) (n int, err error)
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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