mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-07 21:05:29 +08:00
23122b327c
It would be probably good idea to also remove tools/docgen.py and asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which may contain some useful info which we'll need at least to review before removing. PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
17 lines
567 B
Markdown
17 lines
567 B
Markdown
---
|
|
title: "mg_base64_decode()"
|
|
decl_name: "mg_base64_decode"
|
|
symbol_kind: "func"
|
|
signature: |
|
|
int mg_base64_decode(const unsigned char *s, int len, char *dst);
|
|
---
|
|
|
|
Decode base64-encoded string `s`, `len` into the destination `dst`.
|
|
Destination has to have enough space to hold decoded buffer.
|
|
Decoding stops either when all string has been decoded, or invalid
|
|
character appeared.
|
|
Destination is '\0'-terminated.
|
|
Return number of decoded characters. On success, that should be equal to
|
|
`len`. On error (invalid character) the return value is smaller then `len`.
|
|
|