writer

package
v2.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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