fn put_bytes_to_terminal(&mut self, bytes: &[u8]) {
		for i in 0..bytes.len() {
			let str = vec![bytes[i]];
			match str::from_utf8(&str) {
				Ok(s) => {
					print!("{}", s);
				}
				Err(_e) => {}
			};
		}
	}
/// Helper method. Sends ascii code bytes to terminal.
///
/// # Arguments
/// * `bytes`
Helper method. Sends ascii code bytes to terminal.
Helper method . Sends ascii code bytes to terminal .
fn put_bytes_to_terminal(&mut self, bytes: &[u8]) {
		for i in 0..bytes.len() {
			let str = vec![bytes[i]];
			match str::from_utf8(&str) {
				Ok(s) => {
					print!("{}", s);
				}
				Err(_e) => {}
			};
		}
	}
fn put_bytes_to_terminal ( & mut self , bytes : & [ u8 ] ) { for i in 0 .. bytes . len ( ) { let str = vec ! [ bytes [ i ] ] ; match str :: from_utf8 ( & str ) { Ok ( s ) => { print ! ( " " s ) ; } Err ( _e ) => { } } ; } }
Helper method.
Helper method .
&mut self
bytes
&[u8]