MCPcopy Create free account
hub / github.com/apache/fory / stringWithHeaderFast

Method stringWithHeaderFast

javascript/packages/core/lib/writer/index.ts:290–293  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

288 }
289
290 stringWithHeaderFast(v: string) {
291 const { serializeString } = this.config.hps!;
292 this.cursor = serializeString(v, this.platformBuffer, this.cursor);
293 }
294
295 // const header = this.readVarUint36Small();
296 // const type = header & 0b11;

Callers 1

constructorMethod · 0.95

Calls 1

serializeStringFunction · 0.85

Tested by

no test coverage detected