commit | 2ef20ae8957eeedfa7509a03376397f20ea34939 | [log] [tgz] |
---|---|---|
author | Sam Dubey <[email protected]> | Wed Feb 01 11:36:00 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Wed Feb 01 11:36:00 2023 +0000 |
tree | 4db6884dc981c6b1f5f767b6ac8d25b85fdc890f | |
parent | f4e6e902c30dc85c0f9251f93a3996012ce6fb5d [diff] | |
parent | 5d5e15d2d2f80e2292b9eb1ef49e3eb13daa7721 [diff] |
Remove obselete test mapping file am: 873ef6863b am: 5d5e15d2d2 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ciborium-io/+/2411547 Change-Id: I87cf19d197c85acf8917184e55ee0cc3bef05a02 Signed-off-by: Automerger Merge Worker <[email protected]>
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