Bug: 158619003

Clone this repo:
  1. 37730ba Adding bluetooth apex by Roopa Sattiraju · 5 weeks ago master
  2. be00578 Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." by Joel Galenson · 6 weeks ago
  3. 2901ba9 Refresh Android.bp, cargo2android.json, TEST_MAPPING. by Joel Galenson · 8 weeks ago
  4. a6a5758 Make libbytes available to CompOS am: c831f85db1 by Alan Stokes · 6 weeks ago
  5. c831f85 Make libbytes available to CompOS by Alan Stokes · 7 weeks 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.