Feed received wire bytes to the transport, consuming them from the front.

Synopsis

Declared in <net.h>

[[requires_capability(0x7fd74ad60438, 0x7fd74ad604f8), requires_capability(0x7fd74b1474d8, 0x7fd74b147598), requires_capability(0x7fd756e97688, 0x7fd756e97748), requires_capability(0x7fd74ee52f98, 0x7fd74ee53058), requires_capability(0x7fd752734c98, 0x7fd752734d58), requires_capability(0x7fd759e0e238, 0x7fd759e0e2f8), requires_capability(0x7fd7530fa798, 0x7fd7530fa858), requires_capability(0x7fd7630b94f8, 0x7fd7630b95b8), requires_capability(0x7fd756b6dd68, 0x7fd756b6de28), requires_capability(0x7fd75a662488, 0x7fd75a662548), requires_capability(0x7fd73a00f2b8, 0x7fd73a00f378)]]
virtual
bool
ReceivedBytes(std::span<uint8_t const>& msg_bytes) noexcept 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