Buffering streams in Julia?

Julia has a builtin API for streams. Is there an existing library that provides something similar to the bufio API in Go’s standard library, which makes it easy to add a buffering layer to encapsulate any given stream?

This would be mainly of interest for working with plaintext data efficiently by buffering large blocks of input at a time. The current API can easily lead to performance bottlenecks.

Like BufferedStreams.jl?

3 Likes