Cross-platform C SDK logo

Cross-platform C SDK

Encode

❮ Back
Next ❯
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.

Header

#include <encode/encode.h>


Functions

voidencode_start (void)
voidencode_finish (void)

Types and Constants

structUrl
structJsonOpts

The Encode library groups the implementation of encoders and decoders for some of the most used data formats such as Base64 or Json. Some of these modules were originally included in the INet library, but from the version 1.5.2 of NAppGUI they have moved to encode to be able to be used in applications that do not require network support, thus avoiding external dependencies such as libcurl (Figure 1).

Encode library dependency tree.
Figure 1: Dependencies of encode. See NAppGUI API.
❮ Back
Next ❯

struct Url

Allows access to individual fields of a URL (web address) URL.

struct Url;

struct JsonOpts

Options when processing a JSON script.

struct JsonOpts
{
    ArrPt(String)* log;
};
log

If not NULL, stores log messages.


encode_start ()

Start the encode library, reserving space for the global internal structures.

void
encode_start(void);

encode_finish ()

Ends the encode library, freeing the space of the global internal structures.

void
encode_finish(void);
❮ Back
Next ❯