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

Method ChannelCreatePutSpace

src/cryptopp/channels.cpp:230–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230byte * ChannelSwitch::ChannelCreatePutSpace(const std::string &channel, size_t &size)
231{
232 m_it.Reset(channel);
233 if (!m_it.End())
234 {
235 BufferedTransformation &target = m_it.Destination();
236 const std::string &ch = m_it.Channel();
237 m_it.Next();
238 if (m_it.End()) // there is only one target channel
239 return target.ChannelCreatePutSpace(ch, size);
240 }
241 size = 0;
242 return NULL;
243}
244
245size_t ChannelSwitch::ChannelPutModifiable2(const std::string &channel, byte *inString, size_t length, int messageEnd, bool blocking)
246{

Callers

nothing calls this directly

Calls 3

EndMethod · 0.80
ResetMethod · 0.45
NextMethod · 0.45

Tested by

no test coverage detected