go-github-com-jackc-chunkreader 1.0.0
Channel: guix
Home page: https://github.com/jackc/chunkreader
Licenses: Expat
Synopsis: Wrapper for @code{io.Reader}
Description:
ChunkReader is a io.Reader
wrapper that minimizes IO reads and memory allocations. It allocates memory in chunks and will read as much as will fit in the current buffer in a single call regardless of how large a read is actually requested. The memory returned via Next is owned by the caller. This avoids the need for an additional copy. It extracted from original implementation in https://github.com/jackc/pgx.
Total results: 2