--- 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'!