buffered_writer

package
v0.0.0-...-0b345dd Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedWriteCloser

type BufferedWriteCloser struct {
	FlushFunc func([]byte, int64) error
	CloseFunc func() error
	// contains filtered or unexported fields
}

func NewBufferedWriteCloser

func NewBufferedWriteCloser(bufferLimit int) *BufferedWriteCloser

func (*BufferedWriteCloser) Close

func (b *BufferedWriteCloser) Close() error

func (*BufferedWriteCloser) Write

func (b *BufferedWriteCloser) 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