MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetCommand

Method GetCommand

src/protocol.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53std::string CMessageHeader::GetCommand() const
54{
55 return std::string(pchCommand, pchCommand + strnlen_int(pchCommand, COMMAND_SIZE));
56}
57
58bool CMessageHeader::IsValid() const
59{

Callers 2

main.cppFile · 0.80
ProcessMessagesFunction · 0.80

Calls 1

strnlen_intFunction · 0.85

Tested by

no test coverage detected