BlockRequest

data class BlockRequest(val piece: Int, val offset: Int, val length: Int)

A block within a piece: piece index, byte offset into the piece, and length.

Constructors

Link copied to clipboard
constructor(piece: Int, offset: Int, length: Int)

Properties

Link copied to clipboard
val length: Int
Link copied to clipboard
val offset: Int
Link copied to clipboard
val piece: Int