PostgreSQL Source Code
git master
base64.h
Go to the documentation of this file.
1
/*
2
* base64.h
3
* Encoding and decoding routines for base64 without whitespace
4
* support.
5
*
6
* Portions Copyright (c) 2001-2023, PostgreSQL Global Development Group
7
*
8
* src/include/common/base64.h
9
*/
10
#ifndef BASE64_H
11
#define BASE64_H
12
13
/* base 64 */
14
extern
int
pg_b64_encode
(
const
char
*src,
int
len
,
char
*dst,
int
dstlen);
15
extern
int
pg_b64_decode
(
const
char
*src,
int
len
,
char
*dst,
int
dstlen);
16
extern
int
pg_b64_enc_len
(
int
srclen);
17
extern
int
pg_b64_dec_len
(
int
srclen);
18
19
#endif
/* BASE64_H */
pg_b64_decode
int pg_b64_decode(const char *src, int len, char *dst, int dstlen)
Definition:
base64.c:116
pg_b64_enc_len
int pg_b64_enc_len(int srclen)
Definition:
base64.c:224
pg_b64_encode
int pg_b64_encode(const char *src, int len, char *dst, int dstlen)
Definition:
base64.c:49
pg_b64_dec_len
int pg_b64_dec_len(int srclen)
Definition:
base64.c:239
len
const void size_t len
Definition:
pg_crc32c_sse42.c:24
src
include
common
base64.h
Generated on Sat Mar 25 2023 06:13:22 for PostgreSQL Source Code by
1.9.1