Feed received wire bytes to the transport, consuming them from the front.
Synopsis
Declared in <net.h>
[[requires_capability(0x7fbc92f86ef8), requires_capability(0x7fbc9e207148), requires_capability(0x7fbc86db8e98), requires_capability(0x7fbc96deebf8), requires_capability(0x7fbca518b8a8), requires_capability(0x7fbc8465be68), requires_capability(0x7fbc9e0de098), requires_capability(0x7fbc8c0da308), requires_capability(0x7fbc92e4f298), requires_capability(0x7fbcad25b828), requires_capability(0x7fbc9efce5f8)]]
virtual
bool
ReceivedBytes(std::span<uint8_t const>& msg_bytes) override;
Return Value
false if invalid bytes were seen and the transport can no longer be used.
Parameters
Name |
Description |
msg_bytes |
bytes received from the wire; consumed bytes are removed from the front. |
Created with MrDocs