Frankly, I never assume the size of anything when playing with memory or streams, but always use sizeof(TMyEnum) for safety. This way it would work between compilers, as each would report the size and you wouldn't actually have to know.