pieceLength

fun pieceLength(piece: Int, totalSize: Int): Int

The length of metadata piece piece for a blob of totalSize bytes.