import (
"github.com/xen0n/bufferqueue" // package bufferqueue
)
A simple single-producer single-consumer buffer queue that only copies its
incoming data once, for every Read()
from it. Zero-copy is not possible
given the semantic of io.Reader
.
Beware: This implementation might be extremely buggy, do not put into production yet without much testing.