22 const char *
const sourceFileName,
23 const char *
const destFileName
29 this->m_sourceName = sourceLogStringArg;
33 this->m_destName = destLogStringArg;
42 if (
static_cast<FwSizeType>(
static_cast<U32
>(file_size)) != file_size) {
45 this->m_size =
static_cast<U32
>(file_size);
49 this->m_checksum = checksum;
65 status = this->m_osFile.seek(byteOffset);
70 status = this->m_osFile.read(data, intSize);
74 if (
static_cast<U32
>(intSize) != size) {
77 this->m_checksum.update(data, byteOffset, size);
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
PlatformSizeType FwSizeType
C++-compatible configuration header for fprime configuration.
Class representing a CFDP checksum.
@ BAD_SIZE
Invalid size parameter.
@ OP_OK
Operation was successful.
@ OPEN_READ
Open file for reading.
Status getFileSize(const char *path, FwSizeType &size)
append file origin to destination file. If boolean true, creates a brand new file if the destination ...
@ OP_OK
Operation was successful.