mirror of
https://github.com/GayPizzaSpecifications/darwin-apk.git
synced 2025-08-04 05:51:31 +00:00
idk anymore
This commit is contained in:
@ -18,7 +18,7 @@ struct GZipReader: ~Copyable {
|
|||||||
inflateEnd(&zstream)
|
inflateEnd(&zstream)
|
||||||
}
|
}
|
||||||
|
|
||||||
mutating func read(inStream stream: InputStream) throws(GZipError) -> Data {
|
mutating func read<S: InputStream>(inStream stream: S) throws(GZipError) -> Data {
|
||||||
// Initialise zlib if this is the first time we're called
|
// Initialise zlib if this is the first time we're called
|
||||||
// otherwise reset the stream in anticipation of reading the next concatenated stream
|
// otherwise reset the stream in anticipation of reading the next concatenated stream
|
||||||
var zerr = if self.zstream.state == nil {
|
var zerr = if self.zstream.state == nil {
|
||||||
|
Reference in New Issue
Block a user