MCPcopy Create free account
hub / github.com/cxapython/catvm / writeInt32BE

Function writeInt32BE

xiaohongshu/test.js:468–474  ·  view source on GitHub ↗
(e, t, n)

Source from the content-addressed store, hash-verified

466 },
467 'pack': function (e, t, n) {
468 function writeInt32BE(e, t, n) {
469   
470     return  (arry[t] = e >>> 24,
471         arry[t + 1] = e >>> 16,
472         arry[t + 2] = e >>> 8,
473         arry[t + 3] = 255 & e)
474 };
475 writeInt32BE(0, n, !0),
476        writeInt32BE(e, n + 4, !0)
477    return new Uint8Array(t)

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected