Just like the similar Mac functions - Decode data to a stringref using native encoding.