| commit | 025cc60a7f10f46a99dd6c171bb9805549ef92e8 | [log] [tgz] |
|---|---|---|
| author | Sam Dubey <dubeyshubham@google.com> | Fri Jan 20 16:18:27 2023 +0000 |
| committer | Sam Dubey <dubeyshubham@google.com> | Fri Jan 20 16:18:27 2023 +0000 |
| tree | 4db6884dc981c6b1f5f767b6ac8d25b85fdc890f | |
| parent | d798639b28e7b71b5892e985648fbd050bb22764 [diff] |
Remove obselete test mapping file Change-Id: I71bbf08716bc21e5cf0a2d969694c6f99487f5cd
Simple, Low-level I/O traits
This crate provides two simple traits: Read and Write. These traits mimic their counterparts in std::io, but are trimmed for simplicity and can be used in no_std and no_alloc environments. Since this crate contains only traits, inline functions and unit structs, it should be a zero-cost abstraction.
If the std feature is enabled, we provide blanket implementations for all std::io types. If the alloc feature is enabled, we provide implementations for Vec<u8>. In all cases, you get implementations for byte slices. You can, of course, implement the traits for your own types.
License: Apache-2.0