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

Synopsis

Declared in <net.h>

[[requires_capability(0x7ff36f10e6d8), requires_capability(0x7ff36d80cf08), requires_capability(0x7ff37ed965a8), requires_capability(0x7ff376ef3268), requires_capability(0x7ff38f486698), requires_capability(0x7ff37e9d6f28), requires_capability(0x7ff38de55828), requires_capability(0x7ff388ff9d18), requires_capability(0x7ff37aed3908), requires_capability(0x7ff3808247f8), requires_capability(0x7ff38073e708)]]
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