Base64.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2018 Wind River Systems, Inc. All Rights Reserved.
3  *
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v2.0
6  * and Eclipse Distribution License v1.0 which accompany this distribution.
7  *
8  * The Eclipse Public License is available at
9  * https://www.eclipse.org/legal/epl-2.0/
10  * and the Eclipse Distribution License is available at
11  * http://www.eclipse.org/org/documents/edl-v10.php.
12  *
13  * Contributors:
14  * Keith Holman - initial implementation and documentation
15  *******************************************************************************/
16 
17 #if !defined(BASE64_H)
18 #define BASE64_H
19 
21 typedef unsigned int b64_size_t;
23 typedef unsigned char b64_data_t;
24 
39  const char *in, b64_size_t in_len );
40 
52 b64_size_t Base64_decodeLength( const char *in, b64_size_t in_len );
53 
67 b64_size_t Base64_encode( char *out, b64_size_t out_len,
68  const b64_data_t *in, b64_size_t in_len );
69 
82 
83 #endif /* BASE64_H */
b64_size_t Base64_decode(b64_data_t *out, b64_size_t out_len, const char *in, b64_size_t in_len)
Definition: Base64.c:100
b64_size_t Base64_decodeLength(const char *in, b64_size_t in_len)
Definition: Base64.c:239
b64_size_t Base64_encodeLength(const b64_data_t *in, b64_size_t in_len)
Definition: Base64.c:250
b64_size_t Base64_encode(char *out, b64_size_t out_len, const b64_data_t *in, b64_size_t in_len)
Definition: Base64.c:179
unsigned char b64_data_t
Definition: Base64.h:23
unsigned int b64_size_t
Definition: Base64.h:21


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:47:33