writer

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedWriter

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

func NewBufferedWriter

func NewBufferedWriter(w io.Writer) *BufferedWriter

func (*BufferedWriter) Write

func (bw *BufferedWriter) Write(p []byte) (n int, err error)

func (*BufferedWriter) WriteAll

func (bw *BufferedWriter) WriteAll(w io.Writer) (n int64, err error)

type LineWriter

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

func New

func New(out io.Writer) *LineWriter

func (*LineWriter) Write

func (lw *LineWriter) 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