1.0.1 • Published 3 years ago

byte2number v1.0.1

Weekly downloads
73
License
ISC
Repository
-
Last release
3 years ago

##byte2number是什么? 将任意字节长度转换为数值字符串。比如需要显示超过64位的大数值 ##安装 mpm install byte2number ##示例demo

let obj=require("byte2number");

let v=0x70,0xf0,0xf0,0x51,0xe2,0x32,0x31,0x64,0x64,0x98; //bytes array,also can use decimal number but less 255(0xff)

console.log(obj.bytes2number(v,obj.ORDER.HIGH_FIRST)); //second params can ignore,but it will be obj.ORDER.LOW_FIRST

##有问题反馈 在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流

  • qq:624167284
1.0.1

3 years ago

1.0.0

3 years ago