MCPcopy Create free account
hub / github.com/IoLanguage/io / base64_encode_value

Function base64_encode_value

libs/basekit/source/cencode.c:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18char base64_encode_value(char value_in) {
19 static const char *encoding =
20 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
21 if (value_in > 63)
22 return '=';
23 return encoding[(int)value_in];
24}
25
26int base64_encode_block(const char *plaintext_in, int length_in, char *code_out,
27 base64_encodestate *state_in) {

Callers 2

base64_encode_blockFunction · 0.85
base64_encode_blockendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected