bIsWritingHeader

Flag that indicate if we are currently serializing the package header.