CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
host_str_conv.h
Go to the documentation of this file.
1
11
12
#pragma once
13
14
#include <cstddef>
15
#include <string>
16
17
namespace
cdc::plugin_manager
{
18
28
std::string
toDisplay
(
const
char
* utf8);
29
40
int
copyUtf8
(
const
char
* cp437,
char
* out,
size_t
out_size);
41
42
}
// namespace cdc::plugin_manager
cdc::plugin_manager
Definition
CapabilityChecker.h:22
cdc::plugin_manager::toDisplay
std::string toDisplay(const char *utf8)
Decode a UTF-8 (with optional HTML entities) string into CP437 bytes.
Definition
host_str_conv.cpp:16
cdc::plugin_manager::copyUtf8
int copyUtf8(const char *cp437, char *out, size_t out_size)
Encode a CP437 string into a caller buffer as UTF-8.
Definition
host_str_conv.cpp:27
components
plugin_manager
src
host_str_conv.h
Generated by
1.16.1