1
0
Go to file
2026-04-15 18:34:23 +02:00
.gitignore init repo 2026-02-17 16:58:00 +01:00
block_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
buffered_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
content_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
content.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
go.mod init repo 2026-02-17 16:58:00 +01:00
go.sum content reader and testing 2026-02-22 16:30:37 +01:00
io_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
lib_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
lib.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
license license and readme 2026-02-22 18:51:21 +01:00
Makefile small fixes 2026-03-14 23:29:29 +01:00
noai noai entry 2026-04-03 14:31:38 +02:00
peek_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
pool_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
pool.go small fixes 2026-03-14 23:29:29 +01:00
read_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
readbytes_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
reader.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
readme.md handle zero allocation in buffered writer 2026-03-26 18:13:17 +01:00
readutf8_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
writer_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
writer.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00
writeto_test.go refactor: simplify based on blocking/non-blocking behavior changes; allow initial segment from outside of the used pool 2026-04-15 18:34:23 +02:00

Buffer

Pooled Buffer IO for Go programs.

Package buffer provides a reader implementation similar to bufio.Reader, and a writer implementation to batch write operations targeting an underlying writer. The used memory buffers can be taken from a synchronized pool. It also supports scenarios similar to io.Pipe, where a content writer process is wrapped by a buffered reader.

Find the documentation here:


Made in Berlin, DE