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

Synopsis

Declared in <net.h>

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