Skip to content

Commit 07ceebb

Browse files
authored
Update readBytesUntil.adoc
1 parent ca43a1d commit 07ceebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/Communication/Serial/readBytesUntil.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ title: Serial.readBytesUntil()
1616
=== Description
1717
Serial.readBytesUntil() reads characters from the serial buffer into an array. The function terminates (checks being done in this order) if the determined length has been read, if it times out (see link:../settimeout[Serial.setTimeout()]), or if the terminator character is detected, in which case the function returns the characters up to the last character before the supplied terminator. The terminator itself is not returned in the buffer.
1818

19-
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means that supplied length < = 0, a time out occured, or a termination character was found before any other input.
19+
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means that supplied length < = 0, or that a time out occured or a termination character was found before any other input.
2020

2121
`Serial.readBytesUntil()` inherits from the link:../../stream[Stream] utility class.
2222
[%hardbreaks]

0 commit comments

Comments
 (0)