DAPNETGateway/Utils.h

30 lines
859 B
C
Raw Permalink Normal View History

2018-06-06 20:33:31 +01:00
/*
2023-07-07 17:57:36 +01:00
* Copyright (C) 2009,2014,2015,2023 by Jonathan Naylor, G4KLX
2018-06-06 20:33:31 +01:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef Utils_H
#define Utils_H
#include <string>
class CUtils {
public:
static void dump(const std::string& title, const unsigned char* data, unsigned int length);
static void dump(int level, const std::string& title, const unsigned char* data, unsigned int length);
2023-07-11 11:25:39 +01:00
static std::string createTimestamp();
2018-06-06 20:33:31 +01:00
private:
};
#endif