mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
split worker off
This commit is contained in:
2
base64.h
2
base64.h
@@ -6,7 +6,7 @@ char *base64_to(char *dst,const u8 *src,size_t slen);
|
||||
size_t base64_from(u8 *dst,const char *src,size_t slen);
|
||||
// calculates length needed to store data converted from base64
|
||||
#define BASE64_FROM_LEN(l) ((l) / 4 * 3)
|
||||
// validates base32 string and optionally stores length of valid data
|
||||
// validates base64 string and optionally stores length of valid data
|
||||
// returns 1 if whole string is good, 0 if string contains invalid data
|
||||
int base64_valid(const char *src,size_t *count);
|
||||
// aligns data length to something base64 can represent without padding
|
||||
|
||||
Reference in New Issue
Block a user