[automerger skipped] Mark ab/7061308 as merged in stage. am: e61a023705 -s ours am: cd041f8f80 -s ours am: 12a6f11a44 -s ours

am skip reason: Change-Id I10280169a130bcd98707b1a72e5022d1d786987f with SHA-1 c6f8e2a771 is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie27092e8a36e368f2258edbc31fe6cb300b77beb
tree: 1e2edced955b49d54f3cfe3b905af03b45ba0717
  1. .github/
  2. benches/
  3. ci/
  4. patches/
  5. src/
  6. tests/
  7. .cargo_vcs_info.json
  8. .gitignore
  9. Android.bp
  10. Cargo.toml
  11. Cargo.toml.orig
  12. CHANGELOG.md
  13. LICENSE
  14. METADATA
  15. MODULE_LICENSE_MIT
  16. OWNERS
  17. README.md
README.md

Bytes

A utility library for working with bytes.

Crates.io Build Status

Documentation

Usage

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

Serde support is optional and disabled by default. To enable use the feature serde.

[dependencies]
bytes = { version = "1", features = ["serde"] }

License

This project is licensed under the MIT license.

Contribution

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.