20 void FilePacket::EndPacket ::
22 const U32 sequenceIndex,
27 this->setChecksum(checksum);
30 U32 FilePacket::EndPacket ::
33 return this->header.bufferSize() +
sizeof(this->checksumValue);
37 toBuffer(
Buffer& buffer)
const
43 return this->toSerialBuffer(serialBuffer);
46 void FilePacket::EndPacket ::
49 this->checksumValue = checksum.
getValue();
53 void FilePacket::EndPacket ::
81 status = this->header.toSerialBuffer(serialBuffer);
85 status = serialBuffer.
serialize(this->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.