Expand description
Read the parsed header and remaining_len from the buffer. Only return Some() and advance the buffer position if there is enough data in the buffer to read the full packet.
Read the parsed header and remaining_len from the buffer. Only return Some() and advance the buffer position if there is enough data in the buffer to read the full packet.