#ifndef UTIL_STRINGPRINTF_H_
#define UTIL_STRINGPRINTF_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "platform/base/span.h"
namespace openscreen {
#if defined(__GNUC__) || defined(__clang__)
#define OSP_CHECK_PRINTF_ARGS(format_param, dots_param) …
#else
#define OSP_CHECK_PRINTF_ARGS …
#endif
[[nodiscard]] std::string StringPrintf(const char* format, ...)
OSP_CHECK_PRINTF_ARGS(1, 2);
std::string HexEncode(const uint8_t* bytes, size_t len);
std::string HexEncode(ByteView bytes);
}
#endif