Provide Take decorator that limits Buf size

This commit is contained in:
Carl Lerche
2015-07-28 12:51:24 -07:00
parent 296cac263c
commit ed087be853
5 changed files with 96 additions and 1 deletions
+2
View File
@@ -3,10 +3,12 @@ mod ring;
mod sink;
mod slice;
mod source;
mod take;
pub use self::byte::{ByteBuf, MutByteBuf, ROByteBuf};
pub use self::ring::RingBuf;
pub use self::slice::{SliceBuf, MutSliceBuf};
pub use self::take::Take;
use {BufError, RopeBuf};
use std::{cmp, fmt, io, ptr, usize};