<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def end_byte(self):
 """Get end byte in file for this part."""

        return min(
            (self.part_number + 1) * self.multipart.chunk_size,
            self.multipart.size
        )