Back to Site
Loading...
Searching...
No Matches
librats::BencodeDecoder Class Reference

Bencode decoder. More...

#include <bencode.h>

Static Public Member Functions

static BencodeValue decode (const std::vector< uint8_t > &data)
 
static BencodeValue decode (const std::string &data)
 
static BencodeValue decode (const uint8_t *data, size_t size)
 

Detailed Description

Bencode decoder.

Definition at line 110 of file bencode.h.

Member Function Documentation

◆ decode() [1/3]

static BencodeValue librats::BencodeDecoder::decode ( const std::string &  data)
static

◆ decode() [2/3]

static BencodeValue librats::BencodeDecoder::decode ( const std::vector< uint8_t > &  data)
static

◆ decode() [3/3]

static BencodeValue librats::BencodeDecoder::decode ( const uint8_t *  data,
size_t  size 
)
static

The documentation for this class was generated from the following file: