Lines Matching refs:content
24 + (NSString *)replaceCharactersForURLDecoding:(NSString *)content {
25 NSString * fixed = [content stringByReplacingOccurrencesOfString:@"-" withString:@"+"];
29 + (NSData *)decodeURL:(NSString *) content {
30 NSString * fixed = [FRAQRUtils replaceCharactersForURLDecoding:content];
45 + (NSString *)decode:(NSString *)content {
46 return [content stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
49 + (NSString *)pad:(NSString *)content {
50 int paddSize = (4 - ([content length] % 4)) % 4;
54 content = [content stringByAppendingString:@"="];
58 return content;
61 + (BOOL)isBase64:(NSString *)content {
66 return [content rangeOfCharacterFromSet:invertedBase64CharacterSet options:NSLiteralSearch].location == NSNotFound;