okio / okio / GzipSource

GzipSource

(jvm) class GzipSource :Source

A source that uses GZIP to decompress data read from another source.

Constructors

Name Summary
(jvm) <init> A source that uses GZIP to decompress data read from another source.GzipSource(source:Source)

Functions

Name Summary
(jvm) close fun close():Unit
(jvm) read fun read(sink:Buffer, byteCount:Long):Long
(jvm) timeout fun timeout():Timeout

Extension Functions

Name Summary
(jvm) gzip Returns a GzipSource that gzip-decompresses this Source while reading.funSource.gzip():GzipSource
(jvm) inflate Returns an InflaterSource that DEFLATE-decompresses this Source while reading.funSource.inflate(inflater:Inflater= Inflater()):InflaterSource