github.com
proposal: io: add Seq for efficient, zero-copy I/O · Issue #73154 · golang/go
Proposal Details This proposal adds two new functions and one new type to the io package: type Seq = iter.Seq2[[]byte, error] func SeqFromReader(r Reader, bufSize int) Seq func ReaderFromSeq(it Seq...