MCPcopy Create free account
hub / github.com/cocos/cocos-engine / readArrayBuffer

Function readArrayBuffer

platforms/runtime/common/engine/fs-utils.js:172–174  ·  view source on GitHub ↗
(filePath, onComplete)

Source from the content-addressed store, hash-verified

170 },
171
172 readArrayBuffer (filePath, onComplete) {
173 fsUtils.readFile(filePath, 'binary', onComplete);
174 },
175
176 readJson (filePath, onComplete) {
177 fsUtils.readFile(filePath, 'utf8', (err, text) => {

Callers 12

parseArrayBufferFunction · 0.70
parsePVRTexFunction · 0.70
parsePKMTexFunction · 0.70
parseASTCTexFunction · 0.70
parseArrayBufferFunction · 0.50
parsePVRTexFunction · 0.50
parsePKMTexFunction · 0.50
parseASTCTexFunction · 0.50
parseArrayBufferFunction · 0.50
parsePVRTexFunction · 0.50
parsePKMTexFunction · 0.50
parseASTCTexFunction · 0.50

Calls 1

readFileMethod · 0.80

Tested by

no test coverage detected