MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / buffer_size

Method buffer_size

dds/DCPS/DataWriterImpl.h:641–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639 }
640
641 size_t buffer_size(const Sample& sample) const
642 {
643 const SerializedSizeBound bound = sample.key_only() ? key_only_bound_ : bound_;
644 return header_size_ + (bound ? bound.get() : sample.serialized_size(encoding_));
645 }
646
647 private:
648 bool valid_;

Callers 1

serialize_sampleMethod · 0.45

Calls 2

getMethod · 0.45
serialized_sizeMethod · 0.45

Tested by

no test coverage detected