#OTHER by cg
authorClaus Gittinger <cg@exept.de>
Fri, 13 Jan 2017 13:03:57 +0100
changeset 4260 3be6896552e2
parent 4259 78c1a6dc76d4
child 4261 11462c8c561e
child 4276 956420daf17d
#OTHER by cg category
ZipStream.st
--- a/ZipStream.st	Fri Jan 13 13:03:54 2017 +0100
+++ b/ZipStream.st	Fri Jan 13 13:03:57 2017 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 2002 by eXept Software AG
 	      All Rights Reserved
@@ -20,7 +18,7 @@
 	classVariableNames:'Z_DEFLATED HEAD_OS_CODE HEAD_RESERVED HEAD_EXTRA_FIELD
 		HEAD_ORIG_NAME HEAD_COMMENT HEAD_CRC GZ_MAGIC_ID'
 	poolDictionaries:''
-	category:'System-Compress'
+	category:'Streams-Compressed'
 !
 
 !ZipStream primitiveDefinitions!
@@ -73,10 +71,10 @@
 
 documentation
 "
-    Zip compression and decompression (used in gzip and zip)
+    Zip compression and decompression (as used in gzip and zip)
 
     [author:]
-	Claus Atzkern
+        Claus Atzkern
 
     [instance variables:]
 
@@ -228,11 +226,11 @@
 !ZipStream class methodsFor:'ZipInterface compatibility - compress/uncompress'!
 
 compress: aUncompressedByteArray into: aCompressedByteArray
-    ^ self flatBytesIn: aUncompressedByteArray
-		  from: 1
-		    to: (aUncompressedByteArray size)
-		  into: aCompressedByteArray
-	    doCompress: true.
+    ^ self 
+        flatBytesIn: aUncompressedByteArray
+        from: 1 to: (aUncompressedByteArray size)
+        into: aCompressedByteArray
+        doCompress: true.
 !
 
 flatBytesIn:bytesIn from:start to:stop into:bytesOut doCompress:doCompress
@@ -295,12 +293,12 @@
     self error:('compressing error: ', errorNr printString).
 !
 
-uncompress: aCompressedByteArray into: aUncompressedByteArray
-    ^ self flatBytesIn: aCompressedByteArray
-		  from: 1
-		    to: (aCompressedByteArray size)
-		  into: aUncompressedByteArray
-	    doCompress: false.
+uncompress: aCompressedByteArray into: anUncompressedByteArray
+    ^ self 
+        flatBytesIn: aCompressedByteArray
+        from: 1 to: (aCompressedByteArray size)
+        into: anUncompressedByteArray
+        doCompress: false.
 ! !
 
 !ZipStream class methodsFor:'ZipInterface compatibility - crc'!