Base64-encode n bytes from f into t as a single block (with NUL terminator).
Declared in <openssl/evp.h>
int
EVP_EncodeBlock(
unsigned char* t,
unsigned char const* f,
int n);
Number of Base64 characters written, not counting the trailing NUL.
| Name | Description |
|---|---|
| t | Destination buffer (at least ((n+2)/3)*4 + 1 bytes). |
| f | Input octets to encode. |
| n | Number of input bytes. |