20 void FilePacket::EndPacket ::
22 const U32 sequenceIndex,
27 this->setChecksum(checksum);
20 void FilePacket::EndPacket :: {
…}
30 U32 FilePacket::EndPacket ::
33 return this->m_header.bufferSize() +
sizeof(this->m_checksumValue);
30 U32 FilePacket::EndPacket :: {
…}
37 toBuffer(
Buffer& buffer)
const
43 return this->toSerialBuffer(serialBuffer);
46 void FilePacket::EndPacket ::
49 this->m_checksumValue = checksum.
getValue();
46 void FilePacket::EndPacket :: {
…}
53 void FilePacket::EndPacket ::
53 void FilePacket::EndPacket :: {
…}
64 FW_ASSERT(this->m_header.m_type == T_END);
77 FW_ASSERT(this->m_header.m_type == T_END);
81 status = this->m_header.toSerialBuffer(serialBuffer);
85 status = serialBuffer.
serialize(this->m_checksumValue);
Class representing a CFDP checksum.
U32 getValue() const
Get the checksum value.
A variable-length serializable buffer.
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.