Skip to content
Utilities for working with bytes
Branch: v0.4.x
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benches
ci
src Panic in BytesMut::split_to when out of bounds (#252) (#253) Apr 2, 2019
tests Panic in BytesMut::split_to when out of bounds (#252) (#253) Apr 2, 2019
.gitignore
.travis.yml
CHANGELOG.md Fix a typo in CHANGELOG.md (#251) Mar 29, 2019
Cargo.toml
LICENSE
README.md

README.md

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.4.12"

Next, add this to your crate:

extern crate bytes;

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.4.12", 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.

You can’t perform that action at this time.