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

Method EncodeData

Src/Common/FSecure/C3/Interfaces/Channels/Print.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 std::string Print::EncodeData(ByteView data, size_t dataSize)
145 {
146 auto sendData = data.SubString(0, dataSize);
147 return base64::encode(sendData.data(), sendData.size());
148 }
149
150 ByteVector Print::OnRunCommand(ByteView command)
151 {

Callers

nothing calls this directly

Calls 4

encodeFunction · 0.85
SubStringMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected