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

Method ComposeQueryPacket

Src/Core/Procedures.h:265–268  ·  view source on GitHub ↗

Constructs the S2G header. Use to send serialized data. @return buffer containing whole packet.

Source from the content-addressed store, hash-verified

263 /// Use to send serialized data.
264 /// @return buffer containing whole packet.
265 ByteVector ComposeQueryPacket() const override
266 {
267 return CompileProtocolHeader().Concat(m_QueryPacketBody);
268 }
269
270 /// Get decrypted query body.
271 ByteVector GetQueryPacket(Crypto::PublicKey const& authenticationKey, Crypto::PrivateKey const& decrpytionKey)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected