mark state as non-portable (endianess may differ)