MCPcopy Create free account
hub / github.com/avast/retdec / getFileLength

Method getFileLength

src/fileformat/file_format/file_format.cpp:1052–1055  ·  view source on GitHub ↗

* Get real length of file. This lenght may be shorter or longer than declared length of file. * @return Real length of input file */

Source from the content-addressed store, hash-verified

1050 * @return Real length of input file
1051 */
1052std::size_t FileFormat::getFileLength() const
1053{
1054 return bytes.size();
1055}
1056
1057/**
1058 * Get real length of serialized content of input file.

Callers 3

validBlockMethod · 0.80
loadCertificatesMethod · 0.80
TEST_FFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64