MCPcopy Create free account
hub / github.com/esengine/esengine / readSArray

Method readSArray

packages/fairygui/src/utils/ByteBuffer.ts:349–355  ·  view source on GitHub ↗

* Read string array * 读取字符串数组

(count: number)

Source from the content-addressed store, hash-verified

347 * 读取字符串数组
348 */
349 public readSArray(count: number): string[] {
350 const arr: string[] = [];
351 for (let i = 0; i < count; i++) {
352 arr.push(this.readS());
353 }
354 return arr;
355 }
356
357 /**
358 * Read custom string with specified length

Callers 1

loadPackageMethod · 0.80

Calls 2

readSMethod · 0.95
pushMethod · 0.65

Tested by

no test coverage detected