在nodejs应用程序中,我具有以下1024位大小的缓冲区:
const buf1014_1= Buffer.alloc(1024,0xFFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45FFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45FFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45FFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45FFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45, 16);
const buf1014_2= Buffer.alloc(1024,0xFFFFFFFF1234FFFFAAAAAAAADDDAF2345FF45FFF12334FFFFFFFFFAAAAAAAADDDAF2345FF45FFFFFFFFFFFFFFFAAAAAAAADDDAF2345FF45FFFF332FFFFFFFFAAAAAAAADDDAF2345FF45FFFCD123FFFFFFFFFFAAAAAAAADDDAF2345FF45, 16);
以某种方式,我无法计算通过将buf1014_1
除以buf1014_2
而产生的值
换句话说,我无法计算buf1014_1 / buf1014_2
。你知道我该怎么做吗?