MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / readArray

Method readArray

src/core/cocos3x/notepack.js:155–159  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

153 }
154
155 readArray(len) {
156 const arr = new Array(len);
157 for (let i = 0; i < len; i += 1) arr[i] = this.parse();
158 return arr;
159 }
160
161 readMap(len) {
162 const obj = {};

Callers 1

parseMethod · 0.95

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected