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

Function mb_copy

dds/DCPS/DataSampleHeader.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 const Encoding::Kind dsh_encoding_kind = Encoding::KIND_UNALIGNED_CDR;
32
33 bool mb_copy(char& dest, const ACE_Message_Block& mb, size_t offset, const Encoding&)
34 {
35 dest = mb.rd_ptr()[offset];
36 return true;
37 }
38
39 template <typename T>
40 bool mb_copy(T& dest, const ACE_Message_Block& mb, size_t offset, const Encoding& encoding)

Callers 1

mb_peekFunction · 0.85

Calls 4

swap_bytesMethod · 0.80
lengthMethod · 0.45
duplicateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected