mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-11 23:19:00 +08:00
3eb4eb8074
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
585 B
585 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_base64_decode() | mg_base64_decode | func | int mg_base64_decode(const unsigned char *s, int len, char *dst); |
Decodes base64-encoded string s
, len
into the destination dst
.
The destination has to have enough space to hold the decoded buffer.
Decoding stops either when all strings have been decoded or invalid an
character appeared.
Destination is '\0'-terminated.
Returns the number of decoded characters. On success, that should be equal
to len
. On error (invalid character) the return value is smaller then
len
.