fixedwriter

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedWriter

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

func NewFixedWriter

func NewFixedWriter(buf []byte) *FixedWriter

func (*FixedWriter) Bytes

func (fw *FixedWriter) Bytes() []byte

func (*FixedWriter) Free

func (fw *FixedWriter) Free()

释放

func (*FixedWriter) Len

func (fw *FixedWriter) Len() int

func (*FixedWriter) Reset added in v0.0.8

func (fw *FixedWriter) Reset(buf []byte)

func (*FixedWriter) SetW added in v0.0.9

func (fw *FixedWriter) SetW(w int)

func (*FixedWriter) Write

func (fw *FixedWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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