gsasl_base64_decode(3)

gsasl_base64_decode3

Api function

Usage

#include <gsasl.h>

int gsasl_base64_decode(char const * src, char * target, size_t targsize);

Arguments

char const * src

input byte array

char * target

output byte array

size_t targsize

size of output byte array

Overview

Decode Base64 data. Skips all whitespace anywhere. Converts characters, four at a time, starting at (or after) src from Base64 numbers into three 8 bit bytes in the target area.

Return value: Returns the number of data bytes stored at the target, or -1 on error.

Deprecated

Use gsasl_base64_from() instead.

Releases

8 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7–10
  5. 11

Reporting bugs

Report bugs to <[email protected]>.
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
GNU SASL home page: http://www.gnu.org/software/gsasl/

From libgsasl-dev 1.10.0-4+deb11u1 in Debian 11 (Bullseye). Parsed by carta from the page's man source.