3 ms·
That is correct. For file formats and packets etc you must use exact sizes. However for cross platform support using size_t in an API (as in what is exposed vi
by sharpneli 11y ago
That is correct. For file formats and packets etc you must use exact sizes.
However for cross platform support using size_t in an API (as in what is exposed via .dll or .so) is a must. It's exactly the correct way to write cross platform code.