示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            long _off  = long.Parse(textBox6.Text.Trim());
            long _size = long.Parse(textBox7.Text.Trim());

            byte[] data = dex.GetBytes(_off, _size);
            textBox5.Text = Byter.ToHexStr(data);
        }
示例#2
0
 /// <summary>
 /// 获取Field的字符串形式值
 /// </summary>
 /// <param name="fieldName"></param>
 /// <returns></returns>
 public string GetField_Str_Hex(string fieldName)
 {
     byte[] data = GetFieldBytes(fieldName);
     return(Byter.ToHexStr(data));
 }