Libkleo

hex.h
1 /* -*- mode: c++; c-basic-offset:4 -*-
2  utils/hex.h
3 
4  This file is part of libkleopatra
5  SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB
6 
7  SPDX-License-Identifier: GPL-2.0-or-later
8 */
9 
10 #pragma once
11 
12 #include "kleo_export.h"
13 
14 #include <string>
15 
16 class QByteArray;
17 
18 namespace Kleo
19 {
20 
21 KLEO_EXPORT std::string hexencode(const char *s);
22 KLEO_EXPORT std::string hexdecode(const char *s);
23 
24 KLEO_EXPORT std::string hexencode(const std::string &s);
25 KLEO_EXPORT std::string hexdecode(const std::string &s);
26 
27 KLEO_EXPORT QByteArray hexencode(const QByteArray &s);
28 KLEO_EXPORT QByteArray hexdecode(const QByteArray &s);
29 
30 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:56:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.