diff options
author | Ken Grigsby <grigsby@thursby.com> | 2013-04-19 19:10:49 -0500 |
---|---|---|
committer | Ken Grigsby <grigsby@thursby.com> | 2013-04-19 19:10:49 -0500 |
commit | 8123121157b7fd2ec27ee1b9f7f6a23357955b4e (patch) | |
tree | ad1a647e5aa1141cdcec5c7c8f9383aa01bb061e /src/objc/abstract/MCOAbstractPart.h | |
parent | 6397bdb1cf09503680b8b0861ea237fa8199a637 (diff) |
added methods to decode data as strings
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r-- | src/objc/abstract/MCOAbstractPart.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h index 6fb14fcd..5c636a19 100644 --- a/src/objc/abstract/MCOAbstractPart.h +++ b/src/objc/abstract/MCOAbstractPart.h @@ -74,6 +74,9 @@ typedef enum { // Returns the part with the given unique identifier among this part and its subparts. - (MCOAbstractPart *) partForUniqueID:(NSString *)uniqueID; +// Returns a string representation of the data according to charset. +- (NSString *) decodedStringForData:(NSData *)data; + @end #endif |