Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
utf8.hpp
Go to the documentation of this file.
1#ifndef __UTF8_HPP
2#define __UTF8_HPP
3
4#include <string>
5
7
8namespace fc
9{
10
15 bool is_valid_utf8( const std::string_view& str );
16
20 std::string prune_invalid_utf8( const std::string_view& str );
21
22 bool is_utf8( const std::string& str );
23
28 void decodeUtf8(const std::string& input, std::wstring* storage);
29
34 void encodeUtf8(const std::wstring& input, std::string* storage);
35
36}
37
38#endif
39
namespace sysio::chain
Definition authority.cpp:3
void decodeUtf8(const std::string &input, std::wstring *storage)
Definition utf8.cpp:71
bool is_valid_utf8(const std::string_view &str)
Definition utf8.cpp:40
void encodeUtf8(const std::wstring &input, std::string *storage)
Definition utf8.cpp:78
bool is_utf8(const std::string &str)
Definition utf8.cpp:13
std::string prune_invalid_utf8(const std::string_view &str)
Definition utf8.cpp:47