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

Method getRealDataSize

src/utils/dynamic_buffer.cpp:156–159  ·  view source on GitHub ↗

* Gets the size of the data that are actually written to the buffer. * This cannot be greater than the capacity of the buffer. * * @return The size of the written data to the buffer. */

Source from the content-addressed store, hash-verified

154 * @return The size of the written data to the buffer.
155 */
156uint32_t DynamicBuffer::getRealDataSize() const
157{
158 return static_cast<uint32_t>(_data.size());
159}
160
161/**
162 * Erases the bytes from the buffer. Also reduces the capacity of the buffer.

Callers 15

unpackMethod · 0.80
fixJumpsAndCallsMethod · 0.80
offsetAnalysisMethod · 0.80
saveFileMethod · 0.80
calcChecksumMethod · 0.80
runMethod · 0.80
performMethod · 0.80
readPackedDataMethod · 0.80
decompressMethod · 0.80
unpackMethod · 0.80
validBlockMethod · 0.80
detectUnfilterMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64