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

Method BufferFragment

runtime/Log.cc:1144–1154  ·  view source on GitHub ↗

BufferFragment constructor

Source from the content-addressed store, hash-verified

1142
1143// BufferFragment constructor
1144Log::Decoder::BufferFragment::BufferFragment()
1145 : storage()
1146 , validBytes(0)
1147 , runtimeId(-1)
1148 , readPos(nullptr)
1149 , endOfBuffer(nullptr)
1150 , hasMoreLogs(false)
1151 , nextLogId(-1)
1152 , nextLogTimestamp(0)
1153{
1154}
1155
1156/**
1157 * Resets the state of the BufferFragment so that the data cannot be reused

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected