SynopsisEncode a string using the basic encoding scheme (base 64). Prototype#include "webs.h" void websEncode64(char_t *outbuf, char_t *string, int outlen); Parameters
DescriptionThe websEncode64 procedure encodes the string argument into the supplied outbuf buffer. websEncode64 can work in-situ, i.e., outbuf and string can be the same. Return ValueNone ExamplewebsEncode64(encoded, "String with special characters \" %", sizeof(encoded)); websDecode64(decoded, encoded, sizeof(decoded)); Stability ClassificationStable. See Also |