mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Change base64 API
This commit is contained in:
1 parent
30e0f42c97
commit
527e89754e
11 files changed
+124
-91
No files matched your search
+5
-4
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
int mg_base64_update(unsigned char p, char *to, int len);
|
||||
int mg_base64_final(char *to, int len);
|
||||
int mg_base64_encode(const unsigned char *p, int n, char *to);
|
||||
int mg_base64_decode(const char *src, int n, char *dst);
|
||||
#include "arch.h"
|
||||
size_t mg_base64_update(unsigned char input_byte, char *buf, size_t len);
|
||||
size_t mg_base64_final(char *buf, size_t len);
|
||||
size_t mg_base64_encode(const unsigned char *p, size_t n, char *buf, size_t);
|
||||
size_t mg_base64_decode(const char *src, size_t n, char *dst, size_t);
|
||||
Reference in new issue
Block a user