commit | c786ce5225ffd0f05e2f2b0479909dee25ccc4d3 | [log] [tgz] |
---|---|---|
author | Roopa Sattiraju <sattiraju@google.com> | Wed Dec 22 18:02:05 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Dec 22 18:02:05 2021 +0000 |
tree | 29c69c110aaf5efc6b32f04caa2b948b3f38c076 | |
parent | 83ad184ac6973d3500c1e491e0cc81eb68cc1885 [diff] | |
parent | b15e80c995695f9f15e7fc6351612fff26c37621 [diff] |
Adding bluetooth apex am: 37730ba648 am: a75ab71145 am: d6ea9fe287 am: b15e80c995 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bytes/+/1931381 Change-Id: I4b79a3bf46ad267cf2b4f2ce726ee8db2dfe2a98
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.