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§
- A wrapper to add buffering to a read stream.
- An iterator over
u8values of a reader. - A
Cursorwraps an in-memory buffer and provides it with aSeekimplementation. - 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
Readtrait allows for reading bytes from a source. - The
Seektrait 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 Aliases§
- A specialized
Resulttype for I/O operations.