BitTorrent::TorrentID Class Reference

#include <infohash.h>

Inheritance diagram for BitTorrent::TorrentID:
Collaboration diagram for BitTorrent::TorrentID:

Public Types

using BaseType = Digest32< 160 >
- Public Types inherited from Digest32< 160 >
using UnderlyingType = lt::digest32< N >

Static Public Member Functions

static TorrentID fromString (const QString &hashString)
static TorrentID fromInfoHash (const InfoHash &infoHash)
- Static Public Member Functions inherited from Digest32< 160 >
static constexpr int length ()
static Digest32 fromString (const QString &digestString)

Additional Inherited Members

- Public Member Functions inherited from Digest32< 160 >
 Digest32 ()=default
 Digest32 (const UnderlyingType &nativeDigest)
bool isValid () const
 operator UnderlyingType () const
QString toString () const

Detailed Description

Definition at line 47 of file infohash.h.

Member Typedef Documentation

◆ BaseType

Definition at line 50 of file infohash.h.

Member Function Documentation

◆ fromInfoHash()

◆ fromString()

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