MCPcopy Create free account
hub / github.com/TelegramMessenger/tgcalls / CopyTo

Method CopyTo

tgcalls/v2/NativeNetworkingImpl.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 virtual void CopyTo(char* dest, bool nullterminate) const override {
56 memcpy(dest, _value.data(), _value.size());
57 if (nullterminate) {
58 dest[_value.size()] = 0;
59 }
60 }
61 virtual std::string UrlEncode() const override {
62 return _value;
63 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected