Kea  1.9.9-git
utf8.h
Go to the documentation of this file.
1 // Copyright (C) 2020 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef UTF8_H
8 #define UTF8_H 1
9 
10 #include <stdint.h>
11 #include <string>
12 #include <vector>
13 
14 namespace isc {
15 namespace util {
16 namespace encode {
21 std::vector<uint8_t> encodeUtf8(const std::string& value);
22 
23 } // namespace encode
24 } // namespace util
25 } // namespace isc
26 
27 #endif // UTF8_H
std::vector< uint8_t > encodeUtf8(const std::string &value)
Encode value string into UTF-8.
Definition: utf8.cc:15
Defines the logger used by the top-level component of kea-dhcp-ddns.