allow binary data to be sent via #nextPutByte:.
authorClaus Gittinger <cg@exept.de>
Wed, 06 Aug 1997 00:57:59 +0200
changeset 554 84eb4d58dd04
parent 553 57cf11b73cc1
child 555 14f0caf53e2f
allow binary data to be sent via #nextPutByte:.
ActorStr.st
ActorStream.st
--- a/ActorStr.st	Fri Aug 01 11:59:09 1997 +0200
+++ b/ActorStr.st	Wed Aug 06 00:57:59 1997 +0200
@@ -94,6 +94,15 @@
 	^ nextPutAllBlock value:something
     ].
     super nextPutAll:something
+!
+
+nextPutByte:something
+    "put something onto the stream by evaluating the nextPutBlock with
+     something as argument"
+
+    self nextPut:(something asCharacter)
+
+    "Created: 6.8.1997 / 00:44:32 / cg"
 ! !
 
 !ActorStream methodsFor:'defining actions'!
@@ -127,5 +136,5 @@
 !ActorStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/ActorStr.st,v 1.5 1996-09-20 07:34:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Attic/ActorStr.st,v 1.6 1997-08-05 22:57:59 cg Exp $'
 ! !
--- a/ActorStream.st	Fri Aug 01 11:59:09 1997 +0200
+++ b/ActorStream.st	Wed Aug 06 00:57:59 1997 +0200
@@ -94,6 +94,15 @@
 	^ nextPutAllBlock value:something
     ].
     super nextPutAll:something
+!
+
+nextPutByte:something
+    "put something onto the stream by evaluating the nextPutBlock with
+     something as argument"
+
+    self nextPut:(something asCharacter)
+
+    "Created: 6.8.1997 / 00:44:32 / cg"
 ! !
 
 !ActorStream methodsFor:'defining actions'!
@@ -127,5 +136,5 @@
 !ActorStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/ActorStream.st,v 1.5 1996-09-20 07:34:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/ActorStream.st,v 1.6 1997-08-05 22:57:59 cg Exp $'
 ! !