Function goatns::get_question_qname

source ·
pub fn get_question_qname(input_val: &[u8]) -> Result<Vec<u8>, String>
Expand description

Returns a Vec<u8> representation of the name (ie, example.com = [101, 120, 97, 109, 112, 108, 101, 46, 99, 111, 109])

Errors

Will return Strings telling you what’s gone wrong.