Function c4::base64_decode

Function Documentation

size_t c4::base64_decode(csubstr encoded, blob data)

decode the base64 encoding in the given buffer

Parameters:
  • encoded – [in] the encoded base64

  • data – [out] the output buffer

Returns:

the number of bytes needed to return the output.. No writes occur beyond the end of the output buffer.