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

Method attach_writer

rust/fory-core/src/context.rs:160–163  ·  view source on GitHub ↗
(&mut self, writer: Writer<'a>)

Source from the content-addressed store, hash-verified

158
159 #[inline(always)]
160 pub fn attach_writer(&mut self, writer: Writer<'a>) {
161 let old = mem::replace(&mut self.writer, writer);
162 self.default_writer = Some(old);
163 }
164
165 #[inline(always)]
166 pub fn detach_writer(&mut self) {

Callers 1

serialize_toMethod · 0.80

Calls 1

SomeFunction · 0.85

Tested by

no test coverage detected