static toBytesKey(contractByteAddr, index) { const res = []; contractByteAddr.forEach(c => { res.push(c); }); if (index >= 0) { const indexBytes = DbUtils.intTo4BytesArr(index); indexBytes.forEach(c => { res.push(c); }); } return res; }
static toBytesKey(contractByteAddr, index) { const res = []; contractByteAddr.forEach(c => { res.push(c); }); if (index >= 0) { const indexBytes = DbUtils.intTo4BytesArr(index); indexBytes.forEach(c => { res.push(c); }); } return res; }