byte_marks
A configurable bytes' boundary marker for transmitting and receiving bytes from network/files. This comes very handy while building application network protocols - for example, one could read off the demarcated bytes of the wire and could use bincode (https://github.com/bincode-org/bincode) to reconstruct a struct from those bytes.
Example
//message_stream -> stream of messages -> msg|suffix|msg|suffix|msg|tail
let message_stream = "StreamingsUfFiX withsUfFiX markssUfFiX and tailtAiL";
//The following is for only showing validation
let mut messages = Vec new;
messages.push;
messages.push;
messages.push;
messages.push;
//Cursor is akin to a TcpStream
let mut cursor = new;
//From the stream create an iterator and validate the received message chunks
let stream = new;
let zipped = stream.into_iter.zip;
for in zipped
Shows how to unmark byte chunks out from a stream of marked bytes
let random_texts = ;
let mut randomizer = thread_rng;
let num_strings: usize = randomizer.gen_range;
let mut orig_strings = vec!;
let mut marked_bytes = vec!;
let marker = new;
for _ in 0..num_strings
//Marked bytes may be written to a file/sent across the wire
//Get the orginal strings back from marked bytes on receipt
let unmarked = marker.unmark.unwrap.0;
//We must get same bytes back with demarcating bytes removed
//Lets reconstruct the strings back and validate
for i in 0..unmarked.len