如何将integer串转化成byte数组_delphi教程
1个回答
展开全部
如何将integer串转化成byte数组The best solution is to dynamically create an array of byte that has length equal to that of the string. Once you have your array you can fill the array with the values from the string, however there is some offset since the ascii representation of the character 1 isnt equivalent to 1.
最好的解决方案是动态的创建一个与这个串长度相同的byte数组。一旦您得到了数组您就可以用串中的值填充数组,但是因为ASC字符1并不与1相等,所以有一个偏移量。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询