MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / getEncodedBytes

Method getEncodedBytes

runtime/Log.cc:446–449  ·  view source on GitHub ↗

* Retrieve the number of bytes encoded in the internal buffer * * \return * Number of bytes encoded in the internal buffer */

Source from the content-addressed store, hash-verified

444 * Number of bytes encoded in the internal buffer
445 */
446size_t
447Log::Encoder::getEncodedBytes() {
448 return writePos - backing_buffer;
449}
450
451/**
452 * Releases the internal buffer and replaces it with a different one.

Callers 2

compressionThreadMainMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64