commit | 2e08193660815683fa3d81eda6dacbe50cb90e9b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 28 21:31:35 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 28 21:31:35 2022 +0000 |
tree | bc916d77ff4abffd28ebc6040f8a732aca0311e7 | |
parent | b1de609d6fd68b87c1a05f8167b8e4ef1a1fbb5d [diff] | |
parent | db10ab82f3a0539c8bb44ed6196a97b6d8285a30 [diff] |
Snap for 8513843 from db10ab82f3a0539c8bb44ed6196a97b6d8285a30 to mainline-uwb-release Change-Id: I92587546fb79a7e863f0bfdf68753b1f3dc296d8
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.