World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
int | av_base64_decode (uint8_t *out, const char *in, int out_size) |
char * | av_base64_encode (char *out, int out_size, const uint8_t *in, int in_size) |
int av_base64_decode | ( | uint8_t * | out, |
const char * | in, | ||
int | out_size | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/base64.h>
Decode a base64-encoded string.
out | buffer for decoded data |
in | null-terminated input string |
out_size | size in bytes of the out buffer, must be at least 3/4 of the length of in, that is AV_BASE64_DECODE_SIZE(strlen(in)) |
char* av_base64_encode | ( | char * | out, |
int | out_size, | ||
const uint8_t * | in, | ||
int | in_size | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/base64.h>
Encode data to base64 and null-terminate.
out | buffer for encoded data |
out_size | size in bytes of the out buffer (including the null terminator), must be at least AV_BASE64_SIZE(in_size) |
in | input buffer containing the data to encode |
in_size | size in bytes of the in buffer |