reading 3 bytes as an integer,"print(struct.unpack('>I', '\x00' + s)[0])"