public static void Convert(DataToSerialize dataToSerialize, out byte[] bytes, out string ExceptionMessage)
 {
     bytes = default;
     byte[] local = default;
     ExceptionMessage = null;
     {
         local = SerializeState_ToNetWork(dataToSerialize, out string ExceptionMessage_Local, out TimeSpan TimeSpend_OnSerialize);
     }
     bytes = local;
 }
        public static void Convert(byte[] bytes, out DataToSerialize DataToSerialize, out string ExceptionMessage)
        {
            DataToSerialize = default;
            DataToSerialize local = default;

            ExceptionMessage = null;
            string ExceptionMessage_Local = null;

            {
                if (bytes is null ? false : bytes.Length != 0)
                {
                    local = DeserializeState_ToNetWork <DataToSerialize>(bytes, out ExceptionMessage_Local, out TimeSpan TimeSpend);
                }
            }
            ExceptionMessage = ExceptionMessage_Local;
            DataToSerialize  = local;
        }