carta
gsasl_base64_encode(3)

gsasl_base64_encode3

Api function

Arguments

char const * src

input byte array

size_t srclength

size of input byte array

char * target

output byte array

size_t targsize

size of output byte array

Overview

Encode data as base64. Converts characters, three at a time, starting at src into four base64 characters in the target area until the entire input buffer is encoded.

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

Deprecated

Use gsasl_base64_to() instead.

History

  • Debian 11 (Bullseye): the text shown here
  • Debian 10 (Buster) to Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

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.