summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2021-08-31 19:32:59 -0400
committerdusoleil <howcansocksbereal@gmail.com>2021-08-31 19:32:59 -0400
commite5b172c56c2e5d2f55de884b65ac8457dc638075 (patch)
treee8104792d993576d385f899b3315dcb0fc7a3e44 /docs
parent26b1c7a2c68d0747784cc5cebe71f835e8e24255 (diff)
downloadlib-des-gnux-e5b172c56c2e5d2f55de884b65ac8457dc638075.tar.gz
lib-des-gnux-e5b172c56c2e5d2f55de884b65ac8457dc638075.zip
Add readuntil() and readlineuntil() to Comms
Both new functions check the input for a predicate and keep reading until the predicate is true. readuntil() will consume input byte by byte and use the entire string read to check the predicate. It will then return that entire string. readlineuntil() consumes input line by line and only uses the last line to check the predicate. The line that satisfies the predicate is all that is returned. Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions