[#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(0x7f950efa7ac8, 0x7f950efa7b88), requires&lowbar;capability(0x7f950eb88ce8, 0x7f950eb88da8), requires&lowbar;capability(0x7f950ae3a3f8, 0x7f950ae3a4b8), requires&lowbar;capability(0x7f9502e7d2f8, 0x7f9502e7d3b8), requires&lowbar;capability(0x7f952353be78, 0x7f952353bf38), requires&lowbar;capability(0x7f94f8652448, 0x7f94f8652508), requires&lowbar;capability(0x7f9522f6a7e8, 0x7f9522f6a8a8), requires&lowbar;capability(0x7f950ef0ae58, 0x7f950ef0af18), requires&lowbar;capability(0x7f951f0c0308, 0x7f951f0c03c8), requires&lowbar;capability(0x7f9508067298, 0x7f9508067358), requires&lowbar;capability(0x7f9522719ff8, 0x7f952271a0b8)&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]#
