Bug: 158619003

Clone this repo:
  1. 5625868 Merge "Update TEST_MAPPING" am: 13a53c7570 am: 06dd03b784 by Treehugger Robot · 9 weeks ago master
  2. 06dd03b Merge "Update TEST_MAPPING" am: 13a53c7570 by Treehugger Robot · 9 weeks ago
  3. 13a53c7 Merge "Update TEST_MAPPING" by Treehugger Robot · 9 weeks ago
  4. d1ded67 Update TEST_MAPPING by Matthew Maurer · 9 weeks ago
  5. f0e7787 Update TEST_MAPPING am: 915b05c8bc am: 37d179d105 by Matthew Maurer · 3 months ago


A utility library for working with bytes.

Crates.io Build Status



To use bytes, first add this to your Cargo.toml:

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.

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


This project is licensed under the MIT license.


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.