AGUtil Class Reference
| Inherits from | NSObject |
| Declared in | AGUtil.h AGUtil.m |
Class Methods
hexString:
Convert the provided data to hex.
+ (NSString *)hexString:(NSData *)dataParameters
- data
The NSData to be converted to hex representation.
Return Value
An NSString object with the result of the conversion.
Discussion
Convert the provided data to hex.
Declared In
AGUtil.hhexStringToBytes:
Convert the provided hex string to bytes.
+ (NSData *)hexStringToBytes:(NSString *)dataParameters
- data
The hex string to be converted.
Return Value
An NSData object with the result of the conversion.
Discussion
Convert the provided hex string to bytes.
Declared In
AGUtil.hprependZeros:msg:
Append zeros to the message provided.
+ (NSMutableData *)prependZeros:(NSUInteger)n msg:(NSData *)messageParameters
- n
Number of zeros.
- message
The provided message.
Return Value
An NSData object that holds the result.
Discussion
Append zeros to the message provided.
Declared In
AGUtil.h