Bug: 158619003

Clone this repo:
  1. 3ab2498 Support building all variants. by Matthew Maurer · 6 days ago master sdk-release
  2. 01ae379 Import bytes-0.5.4 by Chih-Hung Hsieh · 5 weeks ago
  3. 7457df1 Initial empty repository by Inna Palant · 5 weeks ago simpleperf-release

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 = "0.5"

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 = "0.5", 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.