sc_base64_decode(3)

sc_base64_decode3

Decode a base64 stream

Usage

#include <opensc.h>
int sc_base64_decode(const char *inbuf,
                     unsigned char *outbuf, size_t outlen);

Overview

This function decodes the base64 stream in inbuf, which is NULL-terminated, to the buffer pointed to by outbuf (which is outlen bytes long);

Return value

Returns 0 if successful, or a negative value in case of error.

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From libopensc2-dev 0.11.13-1.1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.