uint32_t MamaRecordedMessageCodec::encodeU64(char*& buffer, MamaMsgField& mmf) { mama_u64_t mfv = mmf.getU64(); size_t s = sizeof(mfv); memcpy(buffer, &mfv, s); buffer += s; //printf("Encoding U64 Field [%d] = ..%llu...\n", s, mfv); return s; }
void onUpdate (MamdaFundamentalListener::MamdaFundamentalListenerImpl& impl, const MamaMsgField& field) { impl.mSharesFloat = field.getU64(); impl.mSharesFloatFieldState = MODIFIED; }