pub fn stream() -> (Reader, Writer)
Creates a unidirectional stream of bytes.
The Reader and Writer share an expanding ring buffer. This allows sending bytes between tasks with minimal extra allocations or copies.
Reader
Writer