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

Method readS

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

* Read string from string table * 从字符串表读取字符串

()

Source from the content-addressed store, hash-verified

218 * 从字符串表读取字符串
219 */
220 public readS(): string {
221 const index = this.getUint16();
222 if (index === 65535) {
223 return '';
224 }
225 return this._stringTable[index] || '';
226 }
227
228 /**
229 * Read string with length prefix

Callers 15

readSArrayMethod · 0.95
loadPackageMethod · 0.80
loadMovieClipMethod · 0.80
loadFontMethod · 0.80
setupMethod · 0.80
setup_beforeAddMethod · 0.80
setup_afterAddMethod · 0.80
setupMethod · 0.80
decodeValueMethod · 0.80
readStatusFromBufferFunction · 0.80
setup_beforeAddMethod · 0.80

Calls 1

getUint16Method · 0.95

Tested by

no test coverage detected