pub fn message_payload(layout: HeaderLayout, message: &[u8]) -> &[u8] ⓘExpand description
Returns the payload of a complete TCP message (everything after the header).
message must be a whole message as stored by crate::network::TcpSession, i.e. the
header followed by exactly header.size - header_len payload bytes.