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

Method unbind_buffer

cpp/fory/util/stream.cc:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void OutputStream::unbind_buffer(Buffer *buffer) {
77 if (active_buffer_ == buffer) {
78 active_buffer_ = buffer_.get();
79 }
80}
81
82uint32_t OutputStream::active_buffer_writer_index() {
83 Buffer *buffer = active_buffer();

Callers 2

bind_output_streamMethod · 0.80
clear_output_streamMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected