Back to Site
Loading...
Searching...
No Matches
bencode.h File Reference
#include <vector>
#include <string>
#include <unordered_map>
#include <memory>
#include <variant>
#include <cstdint>
Include dependency graph for bencode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  librats::BencodeValue
 Represents a bencoded value which can be: More...
 
class  librats::BencodeDecoder
 Bencode decoder. More...
 

Namespaces

namespace  librats
 
namespace  librats::bencode
 Utility functions.
 

Macros

#define LIBRATS_USE_SHARED_PTR_VARIANT   0
 

Typedefs

using librats::BencodeDict = std::unordered_map< std::string, BencodeValue >
 
using librats::BencodeList = std::vector< BencodeValue >
 

Macro Definition Documentation

◆ LIBRATS_USE_SHARED_PTR_VARIANT

#define LIBRATS_USE_SHARED_PTR_VARIANT   0

Definition at line 15 of file bencode.h.