Carl Lerche 4c6ebeba87 Provide two versions of drain_to and split_off
* `drain_to` and `split_off` take &self and return Bytes.
* `drain_to_mut` and `split_off_mut` take &mut self and return BytesMut
2017-02-15 12:46:27 -08:00
2015-01-30 00:04:33 -08:00
2017-02-15 09:45:30 -08:00
2017-02-06 11:58:44 -08:00
2015-02-09 22:53:22 -08:00
2015-09-25 09:06:07 -07:00

Bytes

A utility library for working with bytes.

crates.io Build Status

Usage

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

[dependencies.bytes]
git = "https://github.com/carllerche/bytes"
S
Description
Utilities for working with bytes
Readme MIT
4.5 MiB
Languages
Rust 99.6%
Shell 0.4%