[#CNode-ReceiveMsgBytes] = xref:CNode.adoc[CNode]::ReceiveMsgBytes :relfileprefix: ../ :mrdocs: Receive bytes from the buffer and deserialize them into messages. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[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); ---- == Return Value True if the peer should stay connected, False if the peer should be disconnected from. == Parameters [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#