We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f17218 + b81b5e4 commit 4df3eeeCopy full SHA for 4df3eee
src/Compression/ZipArchiveMember.class.st
@@ -205,8 +205,10 @@ ZipArchiveMember >> contentStreamFromEncoding: encodingName [
205
"Answer my contents as a text stream.
206
Interpret the raw bytes with given encodingName"
207
208
- ^ (ByteArray new: self uncompressedSize streamContents: [ :stream |
209
- self extractTo: stream ]) decodeWith: encodingName
+ ^ ((ByteArray new: self uncompressedSize streamContents: [ :stream |
+ self extractTo: stream ])
210
+ decodeWith: encodingName)
211
+ readStream
212
]
213
214
{ #category : #reading }
0 commit comments