summaryrefslogtreecommitdiff
path: root/src/stage4/lib/str.js
blob: 3d543a05821932cda37b79e493a891706f3c6fe0 (plain)
1
2
3
4
5
6
7
8
9
function dump_u32xn(buf) {
    var s = "";
    
    for (var i = 0; i < buf.length; i++) {
        s += pad_left(buf[i].toString(16), "0", 8);
    }

    return s;
}