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
16class QByteArray;
17
18namespace Kleo
19{
20
21KLEO_EXPORT std::string hexencode(const char *s);
22KLEO_EXPORT std::string hexdecode(const char *s);
23
24KLEO_EXPORT std::string hexencode(const std::string &s);
25KLEO_EXPORT std::string hexdecode(const std::string &s);
26
27KLEO_EXPORT QByteArray hexencode(const QByteArray &s);
28KLEO_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 Fri Nov 22 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.