Feed received wire bytes to the transport, consuming them from the front.
Synopsis
Declared in <net.h>
[[requires_capability(0x7ff36f12a8e8, 0x7ff36f12a9a8), requires_capability(0x7ff36d829178, 0x7ff36d829238), requires_capability(0x7ff37edb2818, 0x7ff37edb28d8), requires_capability(0x7ff376f0f4d8, 0x7ff376f0f598), requires_capability(0x7ff38f4a28b8, 0x7ff38f4a2978), requires_capability(0x7ff37e9f3198, 0x7ff37e9f3258), requires_capability(0x7ff38de71a58, 0x7ff38de71b18), requires_capability(0x7ff389015f18, 0x7ff389015fd8), requires_capability(0x7ff37aeefb28, 0x7ff37aeefbe8), requires_capability(0x7ff37c358248, 0x7ff37c358308), requires_capability(0x7ff37d9e1ed8, 0x7ff37d9e1f98)]]
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