Expand description
Traits, helpers, and type definitions for core I/O functionality.
By default, this module simply re-exports the parts of std::io
that are
used by binrw. In no_std
environments, a compatible subset API is exposed
instead.
Modules
- The I/O Prelude
Structs
- BufReader
std
A wrapper to add buffering to a read stream. - An iterator over
u8
values of a reader. - A
Cursor
wraps an in-memory buffer and provides it with aSeek
implementation. - Read adapter which limits the bytes read from an underlying reader, with seek support.
Enums
- A list specifying general categories of I/O error.
- Enumeration of possible methods to seek within an I/O object.
Traits
- The
Read
trait allows for reading bytes from a source. - The
Seek
trait provides a cursor which can be moved within a stream of bytes. - An extension trait that implements
take_seek()
for compatible streams. - A trait for objects which are byte-oriented sinks.
Type Definitions
- A specialized
Result
type for I/O operations.