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