Repository URL to install this package:
//
// StringUtility.h
// DynamicEngine
//
// Created by Mobile3D on 22/11/13.
// Copyright (c) 2013 Mobile3D. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface StringUtility : NSObject
/**
* Gets a UTF-8 String from a base 64 one.
*
* @param base64String The base 64 string.
* @return An UTF-8 version of the base 64 string.
*/
+ (NSString *) utf8StringFromBase64:(NSString *) base64String;
/**
* Gets a base 64 String from an UTF-8 one.
*
* @param utf8String The UTF-8 string.
* @return An base 64 version of the UTF-8 string.
*/
+ (NSString *) base64StringFromutf8:(NSString *) utf8String;
/**
* This method is used to get an nsdata object from a string that has an hex representation of some bytes.
*
* @param hexString The string to convert to data.
* @return An NSData object that contains the data represented in the string.
*/
+ (NSData *) dataFromHexString:(NSString *) hexString;
/**
* This method is used to get an hex representation of a NSData object.
*
* @param data The data to get the representation of.
* @return An hex string rapresentaion of the data.
*/
+ (NSString *) hexStringFromData:(NSData *) data;
@end