ReadWriteStream.st
changeset 20098 2b116aca09dc
parent 19883 9d05c218e05c
child 20131 4118d61ddba0
child 20425 a859a0719330
--- 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