Receive bytes from the buffer and deserialize them into messages.
Declared in <net.h>
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 |