2016-11-01 08:14:31 -07:00
|
|
|
//! Provides abstractions for working with bytes.
|
2015-02-09 09:04:18 -08:00
|
|
|
|
2016-11-01 08:14:31 -07:00
|
|
|
#![deny(warnings, missing_docs)]
|
2015-04-07 23:40:00 -07:00
|
|
|
|
2016-11-01 08:14:31 -07:00
|
|
|
extern crate byteorder;
|
2016-09-23 14:51:48 -07:00
|
|
|
|
2016-11-01 08:14:31 -07:00
|
|
|
mod buf;
|
|
|
|
|
mod bytes;
|
2016-09-23 22:53:52 -07:00
|
|
|
|
2016-11-01 08:14:31 -07:00
|
|
|
pub use buf::{
|
|
|
|
|
Buf,
|
|
|
|
|
BufMut,
|
|
|
|
|
IntoBuf,
|
|
|
|
|
Source,
|
|
|
|
|
Sink,
|
|
|
|
|
Reader,
|
|
|
|
|
Writer,
|
|
|
|
|
};
|
|
|
|
|
pub use bytes::{Bytes, BytesMut};
|