예제 #1
0
        /// <summary>
        /// Decode given vector
        /// </summary>
        /// <param name="encodedVectorText"></param>
        private async Task DecodeAndDisplayVector(string encodedVectorText)
        {
            try
            {
                var decodedResult = await MessageController.DecodeVector(encodedVectorText, new ConvolutionalDecoder());

                DisplayDecodedVector(decodedResult.Result);
            }
            catch (ArgumentException ex)
            {
                MessageBox.Show(ex.Message);
            }
        }