예제 #1
0
 private void ThrowByteBuff(IPAddress Address)
 {
     //Throw ByteBuff Here
     //Debug.Log("ThrowBuff");
     //Debug.Log(System.Text.Encoding.Default.GetString(Dict[Address].ByteBuff));
     DeCoder.DeCodeMessage(Dict[Address].ByteBuff);
     //Throw ByteBuff End
 }
예제 #2
0
        private void DoDecompression(object sender, RoutedEventArgs e)
        {
            OpenFileDialog win = new OpenFileDialog();

            if (win.ShowDialog() == true)
            {
                var     filepath = win.FileName;
                DeCoder deCoder  = new DeCoder();
                deCoder.ReadFile(filepath);
                deCoder.PrintRezult();
            }
        }