Age | Commit message (Collapse) | Author |
|
PR #2696 without timeout-related changes
|
|
The new functions just call their char* equivalents, but this allows
reading bytes into a buffer of uint8_t as well as chars.
|
|
private.
This allows better optimization on classes that extends Stream without losing
timeout capabilities.
|
|
This isn't necessarily a particularly efficient implementation (it
allocates memory one character at a time and so may lead to
fragmentation) but it seems to work.
http://code.google.com/p/arduino/issues/detail?id=454
|
|
http://code.google.com/p/arduino/issues/detail?id=586
|
|
This should allow us more flexibility in determining how to handle these functions later. For example, in specifying that initial characters shouldn't be skipped.
http://code.google.com/p/arduino/issues/detail?id=698
|
|
http://code.google.com/p/arduino/issues/detail?id=208
|
|
http://code.google.com/p/arduino/issues/detail?id=624
|
|
Renamed readChars() -> readBytes(), readCharsUntil() -> readBytesUntil().
Changed timeouts to milliseconds from seconds; default from 5 to 1 seconds.
Removed readCharsBetween().
|
|
This from Michael's TextFinder library, incorporated into the Stream class: find(), findUntil(), parseInt(), parseFloat(), readChars(), readCharsUntil(), readCharsBetween(), setTimeout().
|
|
Added peak() and available() using a single byte buffer.
Added flush().
|
|
out of Stream for now, since there's no immediate implementation for Client.
|
|
another stream might need more than 255 bytes).
|
|
|
|
|