read some bytes as integer

def read_int(nbytes: int, *, byteorder: str = "big", from_=None) -> int:
    """
    read some bytes as integer
    """
    return (yield (Traps._read_int, nbytes, byteorder, from_))