GNU Octave
9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-base64.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
//
3
// Copyright (C) 2012-2024 The Octave Project Developers
4
//
5
// See the file COPYRIGHT.md in the top-level directory of this
6
// distribution or <https://octave.org/copyright/>.
7
//
8
// This file is part of Octave.
9
//
10
// Octave is free software: you can redistribute it and/or modify it
11
// under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// Octave is distributed in the hope that it will be useful, but
16
// WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
// GNU General Public License for more details.
19
//
20
// You should have received a copy of the GNU General Public License
21
// along with Octave; see the file COPYING. If not, see
22
// <https://www.gnu.org/licenses/>.
23
//
24
////////////////////////////////////////////////////////////////////////
25
26
#if ! defined (octave_oct_base64_h)
27
#define octave_oct_base64_h 1
28
29
#include "octave-config.h"
30
31
#include <string>
32
33
#include "
Array-fwd.h
"
34
#include "
intNDArray.h
"
35
36
OCTAVE_BEGIN_NAMESPACE
(
octave
)
37
38
extern
OCTAVE_API
bool
39
base64_encode
(
const
char
*inc,
const
std::size_t inlen,
char
**out);
40
41
extern
OCTAVE_API
Array<double>
42
base64_decode
(
const
std::string& str);
43
44
extern
OCTAVE_API
intNDArray<octave_uint8>
45
base64_decode_bytes
(
const
std::string& str);
46
47
OCTAVE_END_NAMESPACE(
octave
)
48
49
#endif
Array-fwd.h
Array< double >
intNDArray< octave_uint8 >
OCTAVE_BEGIN_NAMESPACE
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
intNDArray.h
OCTAVE_API
#define OCTAVE_API
Definition:
main.cc:55
octave
Definition:
file-ops.cc:60
base64_decode
Array< double > base64_decode(const std::string &str)
Definition:
oct-base64.cc:61
base64_encode
bool base64_encode(const char *inc, const std::size_t inlen, char **out)
Definition:
oct-base64.cc:39
base64_decode_bytes
intNDArray< octave_uint8 > base64_decode_bytes(const std::string &str)
Definition:
oct-base64.cc:99
liboctave
util
oct-base64.h
Generated on Sun Mar 17 2024 22:36:52 for GNU Octave by
1.9.1