arduino / ArduinoCore-sam

80 stars 107 forks source link

Serial.readBytesUntil() is either misleading or buggy #125

Open fkromer opened 3 years ago

fkromer commented 3 years ago

The method Serial.readBytesUntil() does not just read bytes until a delimiter but the part after the delimiter as well. This means either the name of the method is misleading or the method is buggy.

https://forum.arduino.cc/t/how-can-i-read-bytes-until-end-of-text-delimiter/898739/10