[#Transport-ReceivedBytes] = xref:Transport.adoc[Transport]::ReceivedBytes :relfileprefix: ../ :mrdocs: Feed wire bytes to the transport. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool ReceivedBytes(std::span<uint8_t const>& msg_bytes) = 0; ---- == Description Consumed bytes are chopped off the front of msg_bytes. == Return Value false if some bytes were invalid, in which case the transport can't be used anymore. == Parameters [cols="1,4"] |=== | Name| Description | *msg_bytes* [inout] | bytes received from the wire; consumed bytes are chopped off the front. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#