摘要: 1. string类型转成 ASCII byte[]: byte[] byteArray = System.Text.Encoding.ASCII.GetBytes ( str ); 例:"01" 转成 byte[]{ 0x30, 0x31} 2. ASCII byte[]转成string: str 阅读全文
posted @ 2018-11-10 17:19 追问图 阅读(1405) 评论(0) 推荐(0) 编辑