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

Method encode8BitString

payloads/rce_worker_18.6.js:9483–9491  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

9481 return this;
9482 }
9483 encode8BitString(str) {
9484 this.encode('uint32_t', str.length);
9485 this.encode('bool', true);
9486 this.argList.push({
9487 type: 'bytes',
9488 value: str
9489 });
9490 return this;
9491 }
9492 encodeNullString() {
9493 this.encode('uint32_t', 0xffffffff);
9494 return this;

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected