Receive bytes from the buffer and deserialize them into messages.
Declared in <net.h>
[[requires_capability(0x7f950f15dbb8), requires_capability(0x7f950f1ecec8), requires_capability(0x7f950aff05a8), requires_capability(0x7f95030334a8), requires_capability(0x7f95236c1f58), requires_capability(0x7f952527b6c8), requires_capability(0x7f950ec80d18), requires_capability(0x7f950dc34548), requires_capability(0x7f951df900e8), requires_capability(0x7f9524e49b88), requires_capability(0x7f950f723e28)]]
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 |