MCPcopy Create free account
hub / github.com/bhideki/darksword / encode8BitString

Method encode8BitString

payloads/rce_worker.js:31–39  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

29 return this;
30 }
31 encode8BitString(str) {
32 this.encode('uint32_t', str.length);
33 this.encode('bool', true);
34 this.argList.push({
35 type: 'bytes',
36 value: str
37 });
38 return this;
39 }
40 encodeNullString() {
41 this.encode('uint32_t', 0xffffffff);
42 return this;

Callers 3

initGLProgramFunction · 0.45
cacheFontFunction · 0.45

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected