I am working on translating a system from python to c++. I need to be able to perform actions in c++ that are generally performed by using Python\'s struct.unpack
struct.unpack
Unpack the string one byte at a time.
unsigned char *str; unsigned int result; result = *str++ << 24; result |= *str++ << 16; result |= *str++ << 8; result |= *str++;