D++ (DPP)  10.0.30
C++ Discord API Bot Library
etf.h File Reference
#include <dpp/export.h>
#include <dpp/snowflake.h>
#include <dpp/json_fwd.h>
Include dependency graph for etf.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  dpp::etf_buffer
 Represents a buffer of bytes being encoded into ETF. More...
 
class  dpp::etf_parser
 The etf_parser class can serialise and deserialise ETF (Erlang Term Format) into and out of an nlohmann::json object, so that layers above the websocket don't have to be any different for handling ETF. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Enumerations

enum  dpp::etf_token_type : uint8_t {
  dpp::ett_distribution = 'D',
  dpp::ett_new_float = 'F',
  dpp::ett_bit_binary = 'M',
  dpp::ett_compressed = 'P',
  dpp::ett_smallint = 'a',
  dpp::ett_integer = 'b',
  dpp::ett_float = 'c',
  dpp::ett_atom = 'd',
  dpp::ett_reference = 'e',
  dpp::ett_port = 'f',
  dpp::ett_pid = 'g',
  dpp::ett_small_tuple = 'h',
  dpp::ett_large_tuple = 'i',
  dpp::ett_nil = 'j',
  dpp::ett_string = 'k',
  dpp::ett_list = 'l',
  dpp::ett_binary = 'm',
  dpp::ett_bigint_small = 'n',
  dpp::ett_bigint_large = 'o',
  dpp::ett_new_function = 'p',
  dpp::ett_export = 'q',
  dpp::ett_new_reference = 'r',
  dpp::ett_atom_small = 's',
  dpp::ett_map = 't',
  dpp::ett_function = 'u',
  dpp::ett_atom_utf8 = 'v',
  dpp::ett_atom_utf8_small = 'w'
}
 Represents a token which identifies the type of value which follows it in the ETF binary structure. More...
 

Variables

const uint8_t dpp::FORMAT_VERSION = 131
 Current ETF format version in use. More...