irods
4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
![]() ![]() |
#include "rodsDef.h"
Go to the source code of this file.
Functions | |
int | base64_encode (const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) |
int | base64_decode (const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) |
int base64_decode | ( | const unsigned char * | in, |
unsigned long | inlen, | ||
unsigned char * | out, | ||
unsigned long * | outlen | ||
) |
base64 decode a block of memory
in | The base64 data to decode |
inlen | The length of the base64 data |
out | [out] The destination of the binary decoded data |
outlen | [in/out] The max size and resulting size of the decoded data |
Definition at line 91 of file base64.cpp.
References BASE64_BUFFER_OVERFLOW, BASE64_INVALID_PACKET, mymap, OK, and manual_cleanup::out.
int base64_encode | ( | const unsigned char * | in, |
unsigned long | inlen, | ||
unsigned char * | out, | ||
unsigned long * | outlen | ||
) |
base64 Encode a buffer (NUL terminated)
in | The input buffer to encode |
inlen | The length of the input buffer |
out | [out] The destination of the base64 encoded data |
outlen | [in/out] The max size and resulting size |
Definition at line 45 of file base64.cpp.
References irods.six::b(), BASE64_BUFFER_OVERFLOW, codes, OK, manual_cleanup::out, and pid_age::p.
Referenced by irods::SHA256Strategy::digest(), and packChar().