Receive bytes from the buffer and deserialize them into messages.
Declared in <net.h>
[[requires_capability(0x7fd74af16528), requires_capability(0x7fd74b2fd688), requires_capability(0x7fd75704d838), requires_capability(0x7fd74f009148), requires_capability(0x7fd7528bad78), requires_capability(0x7fd749ae4e28), requires_capability(0x7fd75fdcca68), requires_capability(0x7fd7610033e8), requires_capability(0x7fd756d23e58), requires_capability(0x7fd75b028708), requires_capability(0x7fd762a3ac18)]]
bool
ReceiveMsgBytes(
std::span<uint8_t const> msg_bytes,
bool& complete);
True if the peer should stay connected, False if the peer should be disconnected from.
| 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 |