Given the length of an un-encoded string, get the length of the encoded string.
- Parameters
-
len | the length of an unencoded string. |
- Returns
- the length of the string after it is encoded, including the trailing \0
Encode a text string using base64encoding.
- Parameters
-
coded_dst | The destination string for the encoded string. |
plain_src | The original string in plain text |
len_plain_src | The length of the plain text string |
- Returns
- the length of the encoded string
Encode an EBCDIC string using base64encoding.
- Parameters
-
coded_dst | The destination string for the encoded string. |
plain_src | The original string in plain text |
len_plain_src | The length of the plain text string |
- Returns
- the length of the encoded string
Determine the maximum buffer length required to decode the plain text string given the encoded string.
- Parameters
-
coded_src | The encoded string |
- Returns
- the maximum required buffer length for the plain text string
Decode a string to plain text
- Parameters
-
plain_dst | The destination string for the plain text |
coded_src | The encoded string |
- Returns
- the length of the plain text string
Decode an EBCDIC string to plain text
- Parameters
-
plain_dst | The destination string for the plain text |
coded_src | The encoded string |
- Returns
- the length of the plain text string