I have a python string representing bytes read from network, I need to read successively several bytes from this string. For example I have 9 bytes in a string, I need to read 4 bytes as integer, 2 bytes as short, and 3 bytes of custom data type. I have a python string representing bytes read