Skip to main content

Module bstream

Module bstream 

Source
Expand description

A buffered stream of byte chunks.

Structs§

Receiver
A buffered stream of byte chunks.
Sender
Sender side of the byte stream.

Enums§

Status
Indicates the current status of a byte stream.

Functions§

channel
Creates a byte stream and returns its sender and receiver.
empty
Creates a receiver that contains optional data and is already at EOF.
eof
Creates a byte stream that starts at EOF.