DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
#include <discordcoreapi/Utilities/UniquePtr.hpp>
Go to the source code of this file.
Classes and Structures | |
struct | discord_core_api::discord_core_internal::etf_parse_error |
Exception class for etf parsing errors. More... | |
class | discord_core_api::discord_core_internal::etf_parser |
Class for parsing etf data into json format. More... | |
struct | discord_core_api::discord_core_internal::etf_serialize_error |
Custom exception class for etf serialization errors. More... | |
Namespaces | |
namespace | discord_core_api |
The main namespace for the forward-facing interfaces. | |
Concepts | |
concept | discord_core_api::discord_core_internal::array_t |
Concept for array types excluding etf_serializer. | |
concept | discord_core_api::discord_core_internal::object_t |
Concept for object (associative container) types excluding etf_serializer. | |
Enumerations | |
enum class | discord_core_api::discord_core_internal::json_type : uint8_t |
Enumeration for different json value types. | |
Functions | |
template<typename return_type > | |
DCA_INLINE void | discord_core_api::discord_core_internal::reverseByteOrder (return_type &net) |
Reverses the byte order of a value if needed, based on the endianness. | |
template<typename return_type , typename value_type > | |
DCA_INLINE void | discord_core_api::discord_core_internal::storeBits (value_type *to, return_type num) |
Stores the bits of a number into a character array. | |