MCPcopy Create free account
hub / github.com/amule-project/amule / GetInt128Data

Method GetInt128Data

src/libs/ec/cpp/ECUInt128.cpp:58–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58CUInt128 CECTag::GetInt128Data() const
59{
60 if (m_dataType != EC_TAGTYPE_UINT128) {
61 EC_ASSERT(m_dataType == EC_TAGTYPE_UNKNOWN);
62 return CUInt128(false);
63 }
64
65 EC_ASSERT(m_tagData != NULL);
66
67 if (m_tagData) {
68 return CUInt128(reinterpret_cast<const uint8_t *>(m_tagData));
69 } else {
70 return CUInt128(false);
71 }
72}
73
74CUInt128 CECTag::AssignIfExist(ec_tagname_t tagname, CUInt128 *target) const
75{

Callers 1

AssignIfExistMethod · 0.80

Calls 1

CUInt128Class · 0.70

Tested by

no test coverage detected