commit | b2a1942fdeb1984ab5baa0665776c7e7c6048a0b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat Apr 01 01:57:33 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat Apr 01 01:57:33 2023 +0000 |
tree | 3a569cb7639bb0a58d73b6613c9054c382801a59 | |
parent | 3094c29fcb05f8dd93cb893ccf50937f2b7f5118 [diff] | |
parent | 86af907457a91607f8480e81dd6d51eeb8da5f52 [diff] |
Snap for 9867090 from 86af907457a91607f8480e81dd6d51eeb8da5f52 to mainline-art-release Change-Id: I2cacc1a5fa865fc26a47d41f768b8988f7d0104b
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.