Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

chunkreader

v3.1.0+incompatible
github.com/eruca/pgx/chunkreader

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

6 matches

Top ↑

Types

ChunkReader

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

NewChunkReader

func NewChunkReader(r io.Reader) *ChunkReader

NewChunkReaderEx

func NewChunkReaderEx(r io.Reader, options Options) (*ChunkReader, error)

ChunkReader.Next

func (r *ChunkReader) Next(n int) (buf []byte, err error)

Next returns buf filled with the next n bytes. If an error occurs, buf will be nil.

Options

type Options struct {
	MinBufLen int // Minimum buffer length
}

Dependency graph