Bug: 158619003

Clone this repo:
  1. 2b95745 add crosvm to com.android.virt by Jiyong Park · 6 weeks ago master
  2. bc782db Mark ab/6881855 as merged by Xin Li · 8 weeks ago
  3. 7918350 TEST_MAPPING: test dependers of this crate am: 692dc9c298 by Jeff Vander Stoep · 2 months ago
  4. 692dc9c TEST_MAPPING: test dependers of this crate by Jeff Vander Stoep · 2 months ago
  5. b2540e5 Use MIT license type, specified in Cargo.toml am: 33f96b3988 by Chih-Hung Hsieh · 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 = "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.