commit | a75ab7114548e981a63a90aab1dfeb99728e137e | [log] [tgz] |
---|---|---|
author | Roopa Sattiraju <sattiraju@google.com> | Wed Dec 22 17:06:14 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Dec 22 17:06:14 2021 +0000 |
tree | 29c69c110aaf5efc6b32f04caa2b948b3f38c076 | |
parent | 58d9e9909d9a614ceff3587b1ba8159cd4207cff [diff] | |
parent | 37730ba6486519b3cdcc95d33001627e5e796a00 [diff] |
Adding bluetooth apex am: 37730ba648 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1931381 Change-Id: I2e083f4906e2bec22aeb73487c2c97d2dfeafc8d
A utility library for working with bytes.
To use bytes
, first add this to your Cargo.toml
:
[dependencies] bytes = "1"
Next, add this to your crate:
use bytes::{Bytes, BytesMut, Buf, BufMut};
Serde support is optional and disabled by default. To enable use the feature serde
.
[dependencies] bytes = { version = "1", features = ["serde"] }
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in bytes
by you, shall be licensed as MIT, without any additional terms or conditions.