NSString & NSMutableData
NSString & NSMutableData
- Subject: NSString & NSMutableData
- From: "Peter Karlsson" <email@hidden>
- Date: Mon, 21 Apr 2003 15:55:55 +0000
Dear list!
I can put a NSString into a NSMutableData object with this code:
NSMutableData *data;
NSString *myString = @"Some text";
data = [NSMutableData dataWithBytes:[myString cString] length:[myString
length]];
But how do I get the NSMutableData back to the NSString object?
Peter
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.