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

Method dump

javascript/packages/core/lib/writer/index.ts:486–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484 }
485
486 dump() {
487 const result = alloc(this.cursor);
488 this.platformBuffer.copy(result, 0, 0, this.cursor);
489 this.tryFreePool();
490 return result;
491 }
492
493 dumpAndOwn() {
494 this.locked = true;

Callers 9

makeHeadFunction · 0.95
toBytesMethod · 0.95
prependHeaderMethod · 0.95
typeMetaRecordFunction · 0.95
getRootSerializerMethod · 0.45
reader.test.tsFile · 0.45
io.test.tsFile · 0.45
typemeta.test.tsFile · 0.45

Calls 2

tryFreePoolMethod · 0.95
copyMethod · 0.65

Tested by 1

typeMetaRecordFunction · 0.76