摘要:        
//1.字节转换 float m = 5f; var btValue = BitConverter.GetBytes(m).Reverse().ToArray(); //转为原值字符串 string m1 = System.Text.Encoding.Default.GetString(btValu    阅读全文
posted @ 2021-11-29 19:33
码农阿亮
阅读(907)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、定义Class using System; using System.Runtime.InteropServices; using System.Text; namespace IniDemo { public class IniFile { private string m_FileName;    阅读全文
posted @ 2021-11-29 10:50
码农阿亮
阅读(103)
评论(0)
推荐(0)
        
            
        
        
摘要:        
public static void WriteLog(string strLog) { string pathName = Environment.CurrentDirectory + "\\LOG\\" + DateTime.Now.ToString("yyyyMMdd"); string Fi    阅读全文
posted @ 2021-11-29 10:46
码农阿亮
阅读(165)
评论(0)
推荐(0)
        
            
        
        
摘要:        
private Dictionary<string, string> GenDictionary(byte[] inMsg) { Dictionary<string, string> dictionary = new Dictionary<string, string>(); string arg=    阅读全文
posted @ 2021-11-29 10:44
码农阿亮
阅读(204)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号