FWDataWrapper
@interface FWDataWrapper : FWObjectWrapper
Undocumented
-
Undocumented
Declaration
Objective-C
FWWrapperCompatible, fw)
-
json数据解码为Foundation对象
Declaration
Objective-C
- (nullable id)jsonDecode;
Return Value
Foundation对象
-
base64编码
Declaration
Objective-C
- (nonnull NSData *)base64Encode;
Return Value
base64数据
-
base64解码
Declaration
Objective-C
- (nullable NSData *)base64Decode;
Return Value
原数据
-
转换为UTF8编码字符串
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *utf8String;
Return Value
UTF8编码字符串
-
使用NSKeyedUnarchiver解压数据
Declaration
Objective-C
- (nullable id)unarchiveObject:(nonnull Class)clazz;