MCPcopy Create free account
hub / github.com/audacity/audacity / PutMessage

Method PutMessage

libraries/lib-module-manager/PluginIPCUtils.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void detail::PutMessage(IPCChannel& channel, const wxString& value)
51{
52 auto utf8 = value.ToUTF8();
53 const HeaderBlock length = utf8.length();
54 channel.Send(&length, HeaderBlockSize);
55 if(length > 0)
56 channel.Send(utf8.data(), length);
57}
58
59void InputMessageReader::ConsumeBytes(const void* bytes, size_t length)
60{

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.45
SendMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected