pub fn check_str(string: &str) -> Result<(), Error>
Iterarively checks that the given string contains valid characters only.
Returns Error on non-ASCII or otherwise invalid codes.
Error