#DOCUMENTATION by stefan
authorStefan Vogel <sv@exept.de>
Wed, 06 Jul 2016 20:26:03 +0200
changeset 20098 2b116aca09dc
parent 20097 b46d2535bd8a
child 20099 3924a4006e8b
#DOCUMENTATION by stefan class: ReadWriteStream comment/format in: #contents
ReadWriteStream.st
--- a/ReadWriteStream.st	Wed Jul 06 20:23:59 2016 +0200
+++ b/ReadWriteStream.st	Wed Jul 06 20:26:03 2016 +0200
@@ -102,13 +102,6 @@
     ^ super next:count
 !
 
-nextByte
-    "return the next element; advance read pointer.
-     return nil, if there is no next element"
-
-    ^ self next asInteger
-!
-
 peek
     "return the element to be read next without advancing read position.
      If there are no more elements, nil is returned."
@@ -132,8 +125,8 @@
     "return the contents as written so far;
      redefined to prevent confusion resulting due to 
      my superclasses optimization. (see WriteStream contents).
-     ST80 users if RWStream expect the contents array to remain
-     unchanged."
+     ST80 users of ReadWriteStream may expect the contents array to remain
+     unchanged, which we do not guarantee."
 
     readLimit := (readLimit ? 0) max:position.
     ^ collection copyFrom:1 to:readLimit