43 return !(*
this == other);
47 return this->m_bufferData;
51 return this->m_bufferData;
55 return sizeof(this->m_bufferData);
60 const FwSizeType bufferSize =
sizeof this->m_bufferData;
61 const FwSizeType numBytes =
std::min(bufferSize, static_cast<FwSizeType>(
sizeof(U32)));
64 FW_ASSERT(i < bufferSize, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(bufferSize));
65 result += this->m_bufferData[i];
PlatformUIntType NATIVE_UINT_TYPE
Serialization/Deserialization operation was successful.
PlatformSizeType FwSizeType
SerializeStatus
forward declaration for string
NATIVE_UINT_TYPE getBuffCapacity() const
Serializable::SizeType getBuffLength() const
returns current buffer size
uint8_t U8
8-bit unsigned integer
static U32 min(const U32 a, const U32 b)
SerializeStatus setBuff(const U8 *src, Serializable::SizeType length)
sets buffer contents and size
U32 asBigEndianU32() const
Convert bytes 0 through 3 of the hash data to a big-Endian U32 value.
A container class for holding a hash buffer.
HashBuffer & operator=(const HashBuffer &other)
bool operator!=(const HashBuffer &other) const
bool operator==(const HashBuffer &other) const