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

Method force_flush

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

Source from the content-addressed store, hash-verified

201 }
202
203 inline void force_flush() {
204 if (output_stream_ == nullptr) {
205 return;
206 }
207 output_stream_->force_flush();
208 if (FORY_PREDICT_FALSE(output_stream_->has_error())) {
209 set_error(output_stream_->error());
210 }
211 }
212
213 /// write uint8_t value to buffer.
214 FORY_ALWAYS_INLINE void write_uint8(uint8_t value) {

Callers 1

serializeMethod · 0.45

Calls 2

errorMethod · 0.65
has_errorMethod · 0.45

Tested by

no test coverage detected