Receive bytes from the buffer and deserialize them into messages.
Synopsis
Declared in <net.h>
[[requires_capability(0x7fb96f08e5a8), requires_capability(0x7fb96f19d9c8), requires_capability(0x7fb96713bc78), requires_capability(0x7fb96b0532b8), requires_capability(0x7fb95ed2bed8), requires_capability(0x7fb96c8adf78), requires_capability(0x7fb95fd9a738), requires_capability(0x7fb94c275ff8), requires_capability(0x7fb966e250e8), requires_capability(0x7fb97a56c428), requires_capability(0x7fb96e77e5e8)]]
bool
ReceiveMsgBytes(
std::span<uint8_t const> msg_bytes,
bool& complete);
Return Value
True if the peer should stay connected, False if the peer should be disconnected from.
Parameters
Name |
Description |
msg_bytes [in] |
The raw data |
complete [out] |
Set True if at least one message has been deserialized and is ready to be processed |
Created with MrDocs