Right now this is not much of a problem for us because we are all using an x86_64 machine, but I think we should think about using fixed length variable types, e.g. different variables have different lengths on different architectures. So instead of "unsigned short"s we should use "uint16_t"s instead, so we can be sure that the variables always have the same length.