WIP - Implement abstractions for working with bytes

This commit is contained in:
Carl Lerche
2015-02-09 21:24:53 -08:00
parent 52aeab40ee
commit 3c4ebb85f0
16 changed files with 2447 additions and 10 deletions
+15
View File
@@ -0,0 +1,15 @@
#![feature(core)]
use rand::random;
extern crate bytes;
extern crate rand;
mod test_byte_buf;
mod test_rope;
mod test_seq_byte_str;
mod test_small_byte_str;
fn gen_bytes(n: usize) -> Vec<u8> {
(0..n).map(|_| random()).collect()
}