pub fn decode(value: &[u8], flags: u32) -> Result<&str>
Decodes bytes into a UTF-8 string, verifying the common flags indicate string.