#DOCUMENTATION by exept
class: Stream
comment/format in:
#nextBytes:
#nextString:
--- a/Stream.st Thu Jan 02 11:59:47 2020 +0100
+++ b/Stream.st Thu Jan 02 12:09:10 2020 +0100
@@ -807,7 +807,7 @@
"read the next count bytes and return it as a byteArray.
If EOF is encountered while reading, a truncated byteArray is returned.
If EOF is already reached before the first byte can be read,
- an error is raised."
+ an error is raised if signalAtEnd is set, or nil is returned if not."
|data n|
@@ -1185,7 +1185,7 @@
"read the next count bytes and return it as a string.
If EOF is encountered while reading, a truncated string is returned.
If EOF is already reached before the first byte can be read,
- an error is raised."
+ an error is raised if signalAtEnd is set, or nil is returned if not."
|data n|