/*++ /* NAME /* base64_code 3 /* SUMMARY /* encode/decode data, base 64 style /* SYNOPSIS /* #include <base64_code.h> /* /* VSTRING *base64_encode(result, in, len) /* VSTRING *result; /* const char *in; /* ssize_t len; /* /* VSTRING *base64_decode(result, in, len) /* VSTRING *result; /* const char *in; /* ssize_t len; /* /* VSTRING *base64_encode_opt(result, in, len, flags) /* VSTRING *result; /* const char *in; /* ssize_t len; /* int flags; /* /* VSTRING *base64_decode_opt(result, in, len, flags) /* VSTRING *result; /* const char *in; /* ssize_t len; /* int flags; /* DESCRIPTION /* base64_encode() takes a block of len bytes and encodes it as one /* null-terminated string. The result value is the result argument. /* /* base64_decode() performs the opposite transformation. The result /* value is the result argument. The result is null terminated, whether /* or not that makes sense. /* /* base64_encode_opt() and base64_decode_opt() provide extended /* interfaces. In both cases the flags arguments is the bit-wise /* OR of zero or more the following: /* .IP BASE64_FLAG_APPEND /* Append the result, instead of overwriting the result buffer. /* .PP /* For convenience, BASE64_FLAG_NONE specifies none of the above. /* DIAGNOSTICS /* base64_decode () returns a null pointer when the input contains /* characters not in the base 64 alphabet. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.