Rename & refactor ByteBuf -> SliceBuf

This commit is contained in:
Carl Lerche
2016-09-25 22:40:35 -07:00
parent c16ad2bc9d
commit b1dc10e907
19 changed files with 333 additions and 333 deletions
+4 -8
View File
@@ -7,8 +7,8 @@ extern crate byteorder;
// Implementation in here
mod imp;
pub mod alloc;
// TODO: delete
mod alloc;
pub use imp::buf::{Buf, MutBuf};
pub use imp::bytes::Bytes;
@@ -25,15 +25,11 @@ pub mod buf {
WriteExt,
Fmt,
};
pub use imp::buf::slice_buf::SliceBuf;
pub use imp::buf::append::AppendBuf;
pub use imp::buf::block::{BlockBuf, BlockBufCursor};
pub use imp::buf::byte::{ByteBuf, MutByteBuf};
pub use imp::buf::ring::RingBuf;
pub use imp::buf::take::Take;
pub use imp::bytes::BytesBuf;
}
use std::u32;
const MAX_CAPACITY: usize = u32::MAX as usize;