We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9541e commit c445d93Copy full SHA for c445d93
vpr/src/server/telegrambuffer.h
@@ -89,6 +89,15 @@ class TelegramBuffer
89
std::vector<std::string> m_errors;
90
std::optional<TelegramHeader> m_header_opt;
91
92
+ /**
93
+ * @brief Checks for the presence of the telegram header in the buffer.
94
+ *
95
+ * This function searches for the telegram header signature in the raw buffer.
96
+ * If the signature is found, any bytes preceding the header start position
97
+ * are discarded from the buffer.
98
99
+ * @return true if the telegram header signature is found, false otherwise.
100
+ */
101
bool check_telegram_header_presence();
102
};
103
0 commit comments