1
0
Go to file
2026-03-26 18:13:17 +01:00
.gitignore init repo 2026-02-17 16:58:00 +01:00
buffered_test.go content reader and testing 2026-02-22 16:30:37 +01:00
content_test.go bench 2026-02-28 14:12:34 +01:00
content.go add exported free function to abort reading 2026-03-18 21:04:09 +01: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 implement buffered writer 2026-03-25 22:47:56 +01:00
lib_test.go implement buffered writer 2026-03-25 22:47:56 +01:00
lib.go implement buffered writer 2026-03-25 22:47:56 +01:00
license license and readme 2026-02-22 18:51:21 +01:00
Makefile small fixes 2026-03-14 23:29:29 +01:00
peek_test.go content reader and testing 2026-02-22 16:30:37 +01:00
pool_test.go bench 2026-02-28 14:12:34 +01:00
pool.go small fixes 2026-03-14 23:29:29 +01:00
read_test.go content reader and testing 2026-02-22 16:30:37 +01:00
readbytes_test.go bench 2026-02-28 14:12:34 +01:00
reader.go add exported free function to abort reading 2026-03-18 21:04:09 +01:00
readme.md handle zero allocation in buffered writer 2026-03-26 18:13:17 +01:00
readutf8_test.go content reader and testing 2026-02-22 16:30:37 +01:00
writer_test.go handle zero allocation in buffered writer 2026-03-26 18:13:17 +01:00
writer.go handle zero allocation in buffered writer 2026-03-26 18:13:17 +01:00
writeto_test.go content reader and testing 2026-02-22 16:30:37 +01: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