commit | 30ab3ec83284a2329e7117f5df576fe3a3535807 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 30 01:40:34 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 30 01:40:34 2023 +0000 |
tree | 3a569cb7639bb0a58d73b6613c9054c382801a59 | |
parent | 5d8b238771d39ed90fb2a0652fe016e447f5ce3f [diff] | |
parent | 86af907457a91607f8480e81dd6d51eeb8da5f52 [diff] |
Snap for 9847046 from 86af907457a91607f8480e81dd6d51eeb8da5f52 to mainline-tethering-release Change-Id: If5478bc2a5386f41e63d0e10c11e338e67eba1b0
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.