<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_int(nbytes: int, *, byteorder: str = "big", from_=None) -> int: """ read some bytes as integer """

    return (yield (Traps._read_int, nbytes, byteorder, from_))