Feed wire bytes to the transport.
Declared in <net.h>
virtual
bool
ReceivedBytes(std::span<uint8_t const>& msg_bytes) = 0;
Consumed bytes are chopped off the front of msg_bytes.
false if some bytes were invalid, in which case the transport can't be used anymore.
| Name | Description |
|---|---|
| msg_bytes [inout] | bytes received from the wire; consumed bytes are chopped off the front. |