writer

package
v1.14.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufioWrapWriter

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

BufioWrapWriter wraps bufio writer to support flush all once buffer is full

func NewBufioWrapWriter

func NewBufioWrapWriter(w *bufio.Writer) *BufioWrapWriter

func (*BufioWrapWriter) Flush

func (b *BufioWrapWriter) Flush() error

func (*BufioWrapWriter) Write

func (b *BufioWrapWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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