[#V2Transport-ReceivedBytes]
= xref:V2Transport.adoc[V2Transport]::ReceivedBytes
:relfileprefix: ../
:mrdocs:

Feed received wire bytes to the transport, consuming them from the front&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2b0f2108, 0x7f2e2b0f21c8), requires&lowbar;capability(0x7f2e2aa3b978, 0x7f2e2aa3ba38), requires&lowbar;capability(0x7f2e22e7bdf8, 0x7f2e22e7beb8), requires&lowbar;capability(0x7f2e26d289c8, 0x7f2e26d28a88), requires&lowbar;capability(0x7f2e20d4a418, 0x7f2e20d4a4d8), requires&lowbar;capability(0x7f2e2af17348, 0x7f2e2af17408), requires&lowbar;capability(0x7f2e4317d5c8, 0x7f2e4317d688), requires&lowbar;capability(0x7f2e21e50af8, 0x7f2e21e50bb8), requires&lowbar;capability(0x7f2e1b876148, 0x7f2e1b876208), requires&lowbar;capability(0x7f2e35f9d9b8, 0x7f2e35f9da78), requires&lowbar;capability(0x7f2e4396cd08, 0x7f2e4396cdc8)&rsqb;&rsqb;
virtual
bool
ReceivedBytes(std::span&lt;uint8&lowbar;t const&gt;& msg&lowbar;bytes) noexcept override;
----

== Return Value

false if invalid bytes were seen and the transport can no longer be used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *msg&lowbar;bytes*
| bytes received from the wire&semi; consumed bytes are removed from the front&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
