#FEATURE by stefan
authorStefan Vogel <sv@exept.de>
Wed, 13 Mar 2019 20:15:10 +0100
changeset 4840 0bd1739f7758
parent 4839 dfb7f7db7b54
child 4841 44e0d7acac61
#FEATURE by stefan class: CompressionStream added: #binary:
CompressionStream.st
--- a/CompressionStream.st	Wed Mar 13 20:14:55 2019 +0100
+++ b/CompressionStream.st	Wed Mar 13 20:15:10 2019 +0100
@@ -121,6 +121,19 @@
     binary := true.
 !
 
+binary:beBinaryBool
+    "ExternalStream protocol compatibility:
+     switch to binary or text mode - default is text"
+
+    |wasBinary|
+
+    wasBinary := binary.
+    binary := beBinaryBool.
+    ^ wasBinary
+
+    "Created: / 13-03-2019 / 19:17:20 / Stefan Vogel"
+!
+
 propagateClose
     ^ propagateClose
 !