Open
Description
I'm refering to this function: https://www.arduino.cc/reference/en/language/functions/communication/stream/streamfind/
The behavior of the function Stream.find()
is that it will consume every single byte in the inBuffer until it fins the matching target.
This is not documented nor expected from the name find(). One can expect a find()
function to behave similar to peek()
but it is not.