MSH format and `size_t`
Dear Gmsh developers,
I am the author of MshIO. The MSH format uses size_t
for storing indices (e.g. in $elements
block). However, size_t
is not a great type for binary serialization since it can be either 4 bytes or 8 bytes depending on the machine architecture, which will cause problem in binary data transferring. I am wondering if switching to fixed sized types like uint64_t
in the spec is possible. Thanks!
best, Qingnan (James) Zhou