|
Botcraft 1.21.10
|
#include <array>#include <stdexcept>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | ProtocolCraft |
| namespace | ProtocolCraft::Internal |
Functions | |
| constexpr size_t | ProtocolCraft::Internal::GetSnakeCaseSize (std::string_view str) |
| Get the size of a string_view once converted to snake_case. | |
| template<size_t N> | |
| constexpr std::array< char, N > | ProtocolCraft::Internal::ToSnakeCase (std::string_view str) |
| Get a snake_case char array from a string_view. | |
| template<size_t N> | |
| constexpr std::string_view | ProtocolCraft::Internal::ToStringView (const std::array< char, N > &a) |
| Convert a std::array of char to string_view. | |