Kea 2.5.8
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
14namespace isc {
15namespace util {
16namespace encode {
21std::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-lfc.