String Utilities¶
-
void *
serd_base64_decode(const char *str, size_t len, size_t *size)¶ Decode a base64 string.
This function can be used to deserialise a blob node created with
serd_new_blob().- Parameters
str – Base64 string to decode.
len – The length of
str.size – Set to the size of the returned blob in bytes.
- Returns
A newly allocated blob which must be freed with
serd_free().