133 #ifndef OPENTXS_CORE_OTPAYLOAD_HPP
134 #define OPENTXS_CORE_OTPAYLOAD_HPP
149 OTPayload(
const void* pNewData, uint32_t nNewSize);
156 using OTData::operator=;
184 #endif // OPENTXS_CORE_OTPAYLOAD_HPP
EXPORT void swap(OTData &rhs)
EXPORT bool GetEnvelope(OTEnvelope &theEnvelope) const
EXPORT bool SetMessagePayload(const OTMessage &theMessage)
EXPORT uint32_t ReadBytesFrom(OTData &theData, uint32_t lSize)
EXPORT void SetPayloadSize(uint32_t lNewSize)
EXPORT bool GetMessagePayload(OTMessage &theMessage) const
EXPORT const void * GetPayloadPointer() const
EXPORT bool SetEnvelope(const OTEnvelope &theEnvelope)
virtual EXPORT ~OTPayload()