Base64 Class Reference
Description
Represents an object to encode/decode in Base64.
- Defined in:
- Base64.h ( ArcGIS library)
- Since:
- 1.0
List of all members.
Member Function Documentation
+ (NSData*) decode: |
|
(NSString *) |
string |
|
|
Returns a decoded NSData
object from a base64-encoded NSString
.
- Parameters:
-
| string | The string to be decoded. |
- Returns:
- decoded The decoded
NSData
object.
- Since:
- 1.0
+ (NSData*) decode: |
|
(const char *) |
string |
length: |
|
(NSInteger) |
inputLength | |
|
|
| | |
Returns a decoded NSData
object from input of a given length.
- Parameters:
-
| string | The string to be decoded |
| inputLength | The length of the string to be decoded. |
- Returns:
- decoded The decoded
NSData
object.
- Since:
- 1.0
+ (NSString*) encode: |
|
(NSData *) |
rawBytes |
|
|
Returns an NSData
object as a base64-encoded NSString
.
- Parameters:
-
| rawBytes | The raw bytes to be encoded. |
- Returns:
- base64 The base64-encoded string.
- Since:
- 1.0
+ (NSString*) encode: |
|
(const uint8_t *) |
input |
length: |
|
(NSInteger) |
length | |
|
|
| | |
Returns the input of a given length as a base64-encoded NSString
.
- Parameters:
-
| input | to be encoded |
| length | of input |
- Returns:
- base64 encoded string
- Since:
- 1.0
Setup the base64 decoding table.
- Since:
- 1.0