2 ms·
Main point is that you should have function that converts array of bytes to integer or vice-versa, not something like htonl which either swaps order of bytes in
by dfox 15y ago
Main point is that you should have function that converts array of bytes to integer or vice-versa, not something like htonl which either swaps order of bytes in integer or does nothing, depending on endianity of platform.