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

Method attach

cpp/fory/serialization/context.h:441–441  ·  view source on GitHub ↗

Attach an input buffer for the duration of current deserialization call.

Source from the content-addressed store, hash-verified

439
440 /// Attach an input buffer for the duration of current deserialization call.
441 inline void attach(Buffer &buffer) { buffer_ = &buffer; }
442
443 /// Detach the buffer after deserialization is complete.
444 inline void detach() { buffer_ = nullptr; }

Callers 4

TESTFunction · 0.80
TESTFunction · 0.80
deserializeMethod · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64