Skip to content

File cencode.h

FileList > arduino > libraries > ext > base64 > libb64 > cencode.h

Go to the source code of this file.

Classes

Type Name
struct base64_encodestate

Public Types

Type Name
enum base64_encodestep

Public Functions

Type Name
int base64_encode_block (const char * plaintext_in, int length_in, char * code_out, base64_encodestate * state_in)
int base64_encode_blockend (char * code_out, base64_encodestate * state_in)
int base64_encode_chars (const char * plaintext_in, int length_in, char * code_out)
char base64_encode_value (char value_in)
void base64_init_encodestate (base64_encodestate * state_in)

Macros

Type Name
define base64_encode_expected_len (n) ((((4 * n) / 3) + 3) & ~3)

Public Types Documentation

enum base64_encodestep

enum base64_encodestep {
    step_A,
    step_B,
    step_C
};

Public Functions Documentation

function base64_encode_block

int base64_encode_block (
    const char * plaintext_in,
    int length_in,
    char * code_out,
    base64_encodestate * state_in
) 

function base64_encode_blockend

int base64_encode_blockend (
    char * code_out,
    base64_encodestate * state_in
) 

function base64_encode_chars

int base64_encode_chars (
    const char * plaintext_in,
    int length_in,
    char * code_out
) 

function base64_encode_value

char base64_encode_value (
    char value_in
) 

function base64_init_encodestate

void base64_init_encodestate (
    base64_encodestate * state_in
) 

Macro Definition Documentation

define base64_encode_expected_len

#define base64_encode_expected_len (
    n
) ((((4 * n) / 3) + 3) & ~3)

The documentation for this class was generated from the following file cores/common/arduino/libraries/ext/base64/libb64/cencode.h