|
wavelength 1.0.0
|
Go to the source code of this file.
Functions | |
| void | Base64Encode (char *pszOut, int *pnOutLength, const unsigned char *pIn, int nInLength) |
| Encode bytes as text, four characters for each three bytes. | |
| void | Base64Decode (unsigned char *pOut, int *pnOutLength, const char *pszIn, int nInLength) |
| Decode text that Base64Encode() wrote. | |
| void Base64Encode | ( | char * | pszOut, |
| int * | pnOutLength, | ||
| const unsigned char * | pIn, | ||
| int | nInLength ) |
Encode bytes as text, four characters for each three bytes.
The alphabet is the digits, the upper and lower case letters, ., and a space, in that order. The first character gives the number of bytes in the last group, 0 for a whole group. The last group is always encoded whole, with the bytes after the input. The name is inferred.
| pszOut | Receives the text, which is not terminated. |
| pnOutLength | Receives the number of characters. |
| pIn | The bytes. |
| nInLength | The number of bytes. |
| void Base64Decode | ( | unsigned char * | pOut, |
| int * | pnOutLength, | ||
| const char * | pszIn, | ||
| int | nInLength ) |
Decode text that Base64Encode() wrote.
The name is inferred.
| pOut | Receives the bytes. |
| pnOutLength | Receives the number of bytes. |
| pszIn | The text. |
| nInLength | The number of characters. |