Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ decode
Method
decode
packages/core/src/Utils/BinarySerializer.ts:100–103 ·
view source on GitHub ↗
* 将二进制数据解码为对象
(bytes: Uint8Array)
Source
from the content-addressed store, hash-verified
98
* 将二进制数据解码为对象
99
*/
100
public static decode(bytes: Uint8Array): any {
101
const
jsonString = this.utf8ToString(bytes);
102
return
JSON.parse(jsonString);
103
}
104
}
Callers
15
readStringWithLength
Method · 0.45
getCustomString
Method · 0.45
deserializeFromBinary
Method · 0.45
getInfo
Method · 0.45
rapier_wasm2d.js
File · 0.45
getStringFromWasm0
Function · 0.45
handleRunInBrowser
Function · 0.45
handleRunOnDevice
Function · 0.45
install_marketplace_plugin
Function · 0.45
parse
Method · 0.45
parse
Method · 0.45
parseGLB
Method · 0.45
Calls
2
utf8ToString
Method · 0.95
parse
Method · 0.65
Tested by
1
deserialize
Method · 0.36