KiteTorrent
Toggle table of contents
0.0.1-SNAPSHOT
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteTorrent
kitetorrent-session
/
io.github.yuroyami.kitetorrent.session.disk
/
PieceHashes
Piece
Hashes
data
class
PieceHashes
(
val
v1
:
Sha1Hash
?
,
val
v2Leaves
:
List
<
Sha256Hash
>
)
Result of hashing a piece: its v1 SHA-1 and (for v2 torrents) per-16KiB-block SHA-256 leaves.
Members
Constructors
Piece
Hashes
Link copied to clipboard
constructor
(
v1
:
Sha1Hash
?
,
v2Leaves
:
List
<
Sha256Hash
>
)
Properties
v1
Link copied to clipboard
val
v1
:
Sha1Hash
?
v2Leaves
Link copied to clipboard
val
v2Leaves
:
List
<
Sha256Hash
>