字节到整数压缩. [英] Bytes to Int Compression.
本文介绍了字节到整数压缩.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我有15个字节的数组,我需要将其转换为恒定长度的十进制值,最好少于23位.
I have 15 Byte array which i need to convert to an Decimal value of constant length, preferably less 23 digits.
任何人都可以建议任何方法吗?
Can any one suggestion any methods ?
致谢
Anu
推荐答案
15字节数组或15位数组.
15 byte array or 15 bits array.
15个字节永远不会适合整数.最大值为4(32位).
15 bytes will never fit in an integer. The maximum is 4 (32 bits).
请注意,字节是过去一直被称为一个单词的名称,而不是特别是8位的单词.
Be aware a Byte is the name of what was called in past always a Word but than especially a Word of 8 bits.
这篇关于字节到整数压缩.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文