Categorygithub.com/jackc/chunkreader/v2
modulepackage
2.0.1
Repository: https://github.com/jackc/chunkreader.git
Documentation: pkg.go.dev

# README

Build Status

chunkreader

Package chunkreader provides an io.Reader wrapper that minimizes IO reads and memory allocations.

Extracted from original implementation in https://github.com/jackc/pgx.

# Functions

New creates and returns a new ChunkReader for r with default configuration.
NewConfig creates and a new ChunkReader for r configured by config.

# Structs

ChunkReader is a io.Reader wrapper that minimizes IO reads and memory allocations.
Config contains configuration parameters for ChunkReader.