CYPHERS: BASE64 (encode / decode) (from / to) a N_STR *string
Functions
| Name | |
|---|---|
| char | n_toupper(char c) convert a character to uppercase |
| char | n_tolower(char c) convert a character to lowercase |
| bool | n_isupper(char c) check if a character is uppercase |
| bool | n_islower(char c) check if a character is lowercase |
| bool | n_isalpha(char c) check if a character is alphabetic |
| N_STR * | n_base64_encode(N_STR * string) encode a N_STR to base64 |
| N_STR * | n_base64_decode(N_STR * bufcoded) decode a base64 encoded N_STR |
Functions Documentation
function n_toupper
char n_toupper(
char c
)
convert a character to uppercase
Parameters:
- c character to convert
Return: uppercased char c
convert char to upper case
convert a character to uppercase
function n_tolower
char n_tolower(
char c
)
convert a character to lowercase
Parameters:
- c character to convert
Return: lowercased char c
convert char to lower case
convert a character to lowercase
function n_isupper
bool n_isupper(
char c
)
check if a character is uppercase
Parameters:
- c character to look up
Return: TRUE or FALSE
test if char c is uppercase
check if a character is uppercase
function n_islower
bool n_islower(
char c
)
check if a character is lowercase
Parameters:
- c character to look up
Return: TRUE or FALSE
test if char c is lowercase
check if a character is lowercase
function n_isalpha
bool n_isalpha(
char c
)
check if a character is alphabetic
Parameters:
- c character to look up
Return: TRUE or FALSE
test if char c is alphabetic
check if a character is alphabetic
function n_base64_encode
N_STR * n_base64_encode(
N_STR * string
)
encode a N_STR to base64
Parameters:
- input the N_STR *string to encode
Return: a new base64 N_STR *encoded string or NULL
encode a N_STR *string
encode a N_STR to base64
function n_base64_decode
N_STR * n_base64_decode(
N_STR * bufcoded
)
decode a base64 encoded N_STR
Parameters:
- bufcoded the N_STR *string to decode
Return: a new base64 N_STR *decoded string or NULL
decode a N_STR *string
decode a base64 encoded N_STR
Modules
- AABB3D
- ACCEPT_POOL
- ALLEGRO4
- ALLEGRO5
- ANIM_LIB
- ASTAR
- ATLAS_LIB
- AVRO
- CLOCK_SYNC
- COMMONS
- CONFIGFILE
- CYPHER_BASE64
- CYPHER_VIGENERE
- DEAD_RECKONING
- ENUMS
- EXCEPTIONS
- GAME_ENV
- GIT
- GUI
- HASH_TABLE
- ISOMETRIC_ENGINE
- LIST
- LOG
- LOGNODUP
- LZ4
- NETWORKING
- NETWORK_MSG
- N_COOKIES
- N_DIFF
- N_DIGEST
- N_DISK_CACHE
- N_DNS
- N_ECC
- N_ENTROPY
- N_FILES
- N_FLUIDS
- N_GUI_COLOR
- N_GUI_COLORWHEEL
- N_GUI_CURVE
- N_GUI_GRID
- N_GUI_POPUP
- N_HEX
- N_HTTP3
- N_HTTP_COOKIE
- N_HTTP_FORM
- N_HTTP_MIME
- N_HTTP_REQ
- N_HTTP_RESP
- N_HTTP_ROUTER
- N_HTTP_SERVER
- N_ICC
- N_JSON
- N_KAFKA
- N_LINALG
- N_MODULE
- N_OPENSSL_COMPAT
- N_PRETTY
- N_PTH
- N_QUERY
- N_RANDOM
- N_SHA256
- N_STR
- N_TIFF
- N_TIME
- N_USER
- N_X509
- N_ZIP
- PARTICLES
- PCRE
- PHYSICS
- SIGNALS
- STACK
- THREADS
- TRAJECTORY
- TREE
- ZLIB