Fabcoin Core  0.16.2
P2P Digital Currency
b64.h
Go to the documentation of this file.
1 
2 /* BASE64 libraries used internally - should not need to be packaged */
3 
4 #define b64_encode_len(A) ((A+2)/3 * 4 + 1)
5 #define b64_decode_len(A) (A / 4 * 3 + 2)
6 
7 int libscrypt_b64_encode(unsigned char const *src, size_t srclength,
8  /*@out@*/ char *target, size_t targetsize);
9 int libscrypt_b64_decode(char const *src, /*@out@*/ unsigned char *target,
10  size_t targetsize);
int libscrypt_b64_encode(unsigned char const *src, size_t srclength, char *target, size_t targetsize)
Definition: b64.c:123
int libscrypt_b64_decode(char const *src, unsigned char *target, size_t targetsize)
Definition: b64.c:187