MCPcopy Create free account
hub / github.com/modelscope/FunASR / BytesInt

Function BytesInt

runtime/html5/static/recorder-core.js:1423–1427  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

1421};
1422//字节数组BE转成int数字
1423var BytesInt=function(bytes){
1424 var s="";//0-8字节,js位运算只支持4字节
1425 for(var i=0;i<bytes.length;i++){var n=bytes[i];s+=(n<16?"0":"")+n.toString(16)};
1426 return parseInt(s,16)||0;
1427};
1428//读取一个可变长数值字节数组
1429var readMatroskaVInt=function(arr,pos,trim){
1430 var i=pos[0];

Callers 2

WebM_ExtractFunction · 0.70
readMatroskaBlockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…