kea-custom-hooks
FeM custom hooks libraries for Kea DHCP
|
Byte array conversion utilities. More...
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | util |
Typedefs | |
using | util::byte_string = std::basic_string< std::byte > |
using | util::byte_string_view = std::basic_string_view< std::byte > |
Functions | |
byte_string | util::to_bytestr (const std::vector< uint8_t > &bytea) |
Convert a byte array to a byte string. More... | |
std::vector< uint8_t > | util::to_bytea (byte_string_view bytestr) |
Convert a byte string to a byte array. More... | |
Byte array conversion utilities.
This file contains functions for convertion various types of byte arrays
Definition in file bytea_utils.hpp.