[VB.NET]byte互转char、string

来源:互联网 发布:广数g92螺纹编程实例 编辑:程序博客网 时间:2024/06/16 15:18
<script type="text/javascript"><!--google_ad_client = "pub-8333940862668978";/* 728x90, 创建于 08-11-30 */google_ad_slot = "4485230109";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
  1. Buffer = System.Text.Encoding.Default.GetBytes(string.ToCharArray)
  2. Temp = System.Text.Encoding.Default.GetString(InBuff)