func (t *Torrent) PieceStateRuns() PieceStateRuns {
	t.cl.rLock()
	defer t.cl.rUnlock()
	return t.pieceStateRuns()
}
// Returns the state of pieces of the torrent. They are grouped into runs of same state. The sum of
// the state run-lengths is the number of pieces in the torrent.
Returns the state of pieces of the torrent. They are grouped into runs of same state. The sum of
the state run-lengths is the number of pieces in the torrent.
// Returns the state of pieces of the torrent . They are grouped into runs of same state . The sum of // the state run - lengths is the number of pieces in the torrent .
func (t *Torrent) PieceStateRuns() PieceStateRuns {
	t.cl.rLock()
	defer t.cl.rUnlock()
	return t.pieceStateRuns()
}
func ( t * Torrent ) PieceStateRuns ( ) PieceStateRuns { t . cl . rLock ( ) defer t . cl . rUnlock ( ) return t . pieceStateRuns ( ) }
Returns the state of pieces of the torrent.
Returns the state of pieces of the torrent .