mqttrs
mqttrs copied to clipboard
Add `mqttrs::decode::check()` method, to see if the packet is decodable?
The idea here is, before trying decoding and then returning Ok(None), what if we can create diff method, check() -> bool which will tell if the full packet is received or not based on the remaining_lenth?
I don't see why that wouldn't work.
This will work. This is just a feature requirement.