Furrent
Public Attributes | List of all members
fur::Subpiece Struct Reference

Describes a subsection of a Piece, it is mapped to a single file. More...

#include <torrent.hpp>

Public Attributes

std::string filepath
 Path to the file this subpiece belongs to. More...
 
int64_t file_offset
 Offset from the beginning of the file. More...
 
int64_t len
 Size in bytes. More...
 

Detailed Description

Describes a subsection of a Piece, it is mapped to a single file.

Member Data Documentation

◆ file_offset

int64_t fur::Subpiece::file_offset

Offset from the beginning of the file.

◆ filepath

std::string fur::Subpiece::filepath

Path to the file this subpiece belongs to.

◆ len

int64_t fur::Subpiece::len

Size in bytes.


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