In .NET, I can use Encoding.UTF8.GetString(string str) or any other flavor of Encoding, to get the string representation of a byte array. Does Cocoa contain similar functionality out-of-the-box, or do I need to write some stuff to make the conversions myself?
In .NET, I can use Encoding.UTF8.GetString(string str) or any other flavor of Encoding ,
Share
You use
initWithData:encoding. E.g.: