MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / NextChunk

Method NextChunk

Src/Core/QualityOfService.cpp:131–134  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

129
130////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
131FSecure::ByteVector FSecure::C3::QualityOfService::PacketSplitter::NextChunk() const
132{
133 return ByteVector::Create(m_PacketId, m_ChunkId, static_cast<uint32_t>(m_Data.size())).Concat(m_Data);
134}
135
136////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
137bool FSecure::C3::QualityOfService::PacketSplitter::HasMore() const

Callers 1

SendMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected