#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Mon, 01 Apr 2019 17:18:24 +0200
changeset 24031 46f45f402974
parent 24030 4f1f0d4e1ce4
child 24032 a89bc30b9339
#DOCUMENTATION by cg class: Stream comment/format in: #nextPutAll:startingAt:to:
Stream.st
--- a/Stream.st	Mon Apr 01 17:17:35 2019 +0200
+++ b/Stream.st	Mon Apr 01 17:18:24 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
@@ -222,7 +220,6 @@
     ^ self == Stream
 ! !
 
-
 !Stream methodsFor:'Compatibility-Dolphin'!
 
 display:someObject
@@ -232,7 +229,6 @@
     self nextPutAll: someObject asString.
 ! !
 
-
 !Stream methodsFor:'Compatibility-VW'!
 
 commit
@@ -1991,7 +1987,7 @@
 
     "
         (#[] writeStream
-            nextPutAllUtf16Bytes:'BÄxxx' MSB:true;
+            nextPutAllUtf16Bytes:'BÄxxx' MSB:true;
             nextPutUtf16:(Character codePoint:16r10CCCC) MSB:true;
             contents)
    "
@@ -2026,15 +2022,15 @@
         ].
 
         String streamContents:[:s|
-            s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
+            s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
         ].
 .
         ByteArray streamContents:[:s|
-            s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
+            s nextPutAllUtf8:'abcdeäöüß' asUnicode32String
         ].
 
         '/tmp/bytes' asFilename writingFileDo:[:s|
-            s nextPutAllUtf8:'abcdeäöüß'
+            s nextPutAllUtf8:'abcdeäöüß'
         ].
     "
 
@@ -2465,7 +2461,7 @@
     "
         ((WriteStream on:Unicode16String new)
             nextPutUtf16:$B;
-            nextPutUtf16:$Ä; 
+            nextPutUtf16:$Ä; 
             nextPutUtf16:(Character codePoint:16r10CCCC)
             yourself) contents
     "
@@ -2500,19 +2496,19 @@
     "
         (#[] writeStream
             nextPutUtf16Bytes:$B MSB:true;
-            nextPutUtf16Bytes:$Ä MSB:true;
+            nextPutUtf16Bytes:$Ä MSB:true;
             nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:true;
             contents)
 
         ('' writeStream
             nextPutUtf16Bytes:$B MSB:true;
-            nextPutUtf16Bytes:$Ä MSB:true;
+            nextPutUtf16Bytes:$Ä MSB:true;
             nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:true;
             contents)
 
         (FileStream newTemporary
             nextPutUtf16Bytes:$B MSB:false;
-            nextPutUtf16Bytes:$Ä MSB:false;
+            nextPutUtf16Bytes:$Ä MSB:false;
             nextPutUtf16Bytes:(Character codePoint:16r10CCCC) MSB:false;
             reset;
             binary;
@@ -2624,7 +2620,7 @@
     "
       (String streamContents:[:s|
             s nextPutUtf8:$a.
-            s nextPutUtf8:$ü.
+            s nextPutUtf8:$ü.
             s nextPutUtf8: (Character value:16r1fff).
             s nextPutUtf8: (Character value:16rffff).
             s nextPutUtf8: (Character value:16r1ffffff).
@@ -4310,7 +4306,7 @@
 !
 
 nextPutAll:aCollection startingAt:first to:last
-    "append the elements with index from first to last
+    "append the elements from first index to last index
      of the argument, aCollection onto the receiver.
      This is only allowed, if the receiver supports writing."
 
@@ -4328,6 +4324,7 @@
 
     "Modified: / 11-07-1996 / 10:00:32 / cg"
     "Modified: / 22-11-2018 / 12:52:25 / Stefan Vogel"
+    "Modified (comment): / 01-04-2019 / 17:12:15 / Claus Gittinger"
 !
 
 nextPutAllLines:aCollectionOfStrings