Home
       base64.h - ics2txt - convert icalendar .ics file to plain text
  HTML git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
       base64.h (503B)
       ---
            1 #ifndef BASE64_H
            2 #define BASE64_H
            3 
            4 #include <stddef.h>
            5 
            6 void        base64_encode(char const *, size_t, char *, size_t *);
            7 
            8 /*
            9  * It is possible to use the same variables for both source and
           10  * destination. Then the base64 will overwrite the source buffer
           11  * with the destination data.
           12  *
           13  * If the same pointer is passed as both source and destination
           14  * size, the source size will be inaccurate but the destination
           15  * will be correct.
           16  */
           17 int        base64_decode(char const *, size_t *, char *, size_t *);
           18 
           19 #endif