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

Method SerializeEmptyMessageWithSeq

tgcalls/EncryptedConnection.cpp:746–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746rtc::CopyOnWriteBuffer EncryptedConnection::SerializeEmptyMessageWithSeq(uint32_t seq) {
747 auto result = rtc::CopyOnWriteBuffer(5);
748 auto bytes = result.MutableData();
749 WriteSeq(bytes, seq);
750 bytes[4] = kEmptyId;
751 return result;
752}
753
754} // namespace tgcalls

Callers

nothing calls this directly

Calls 1

WriteSeqFunction · 0.85

Tested by

no test coverage detected