1SC_BASE64_DECODE(3)          OpenSC API reference          SC_BASE64_DECODE(3)
2
3
4

NAME

6       sc_base64_decode - Decode a base64 stream
7

SYNOPSIS

9           #include <opensc.h>
10
11           int sc_base64_decode(const char *inbuf,
12                                unsigned char *outbuf, size_t outlen);
13
14
15

DESCRIPTION

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

RETURN VALUE

22       Returns 0 if successful, or a negative value in case of error.
23
24
25
26opensc                            02/16/2010               SC_BASE64_DECODE(3)
Impressum