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

Method reset_alignment

dds/DCPS/Serializer.cpp:214–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void
215Serializer::reset_alignment()
216{
217 const size_t align = encoding().max_align();
218 if (current_ && align) {
219 align_rshift_ = offset(current_->rd_ptr(), 0, align);
220 align_wshift_ = offset(current_->wr_ptr(), 0, align);
221 }
222}
223
224void
225Serializer::smemcpy(char* to, const char* from, size_t n)

Callers 5

operator>>Function · 0.80
operator<<Function · 0.80
data_received_iMethod · 0.80
testTypeFunction · 0.80

Calls

no outgoing calls

Tested by 1

testTypeFunction · 0.64