Crate pw_stream

Source
Expand description

pw_stream provides no_std versions of Rust’s std::io::Read, std::io::Write, and std::io::Seek traits as well as a simplified version of std::io::Cursor. One notable difference is that pw_status::Error is used to avoid needing to do error conversion or encapsulation.

Structs§

Cursor
Wraps an AsRef<u8> in a container implementing Read, Write, and Seek.

Enums§

SeekFrom
A description of a seek operation in a stream.

Traits§

Read
A trait for objects that provide streaming read capability.
ReadInteger
A trait for reading integers from a stream.
ReadVarint
A trait for reading varint integers from a stream.
Seek
A trait for objects that provide the ability to seek withing a stream.
Write
A trait for objects that provide streaming write capability.
WriteInteger
A trait for writing integers toa stream.
WriteVarint
A trait for writing varint integers from a stream.