Bug: 158619003

Clone this repo:
  1. b50f981 Generate apex_available from c2a instead of a patch by Joel Galenson · 12 days ago master
  2. e61a023 Mark ab/7061308 as merged in stage. by Xin Li · 3 months ago
  3. 988fac0 [LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/bytes am: 1be5d87f98 by Bob Badour · 3 months ago
  4. 1be5d87 [LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/bytes by Bob Badour · 3 months ago android-s-preview-1
  5. 04abcba Clean up rust_test_host TEST_MAPPING after default update am: f39b365ab0 by Julien Desprez · 3 months ago

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.