I don\'t know much python but from what I can tell from the documentation the code:
str = \"AAAA\" str += pack(\"
would ap
strcat() stops at the first NUL, so no.
strcat()
char str[20] = "AAAA"; int val = 0; int nval = htole32(val); memcpy(str + 4, (char*)&nval, 4);