okio
/
okio
/
GzipSource
jvm
Gzip
Source
class
GzipSource
(source:
Source
) :
Source
Content copied to clipboard
A source that uses
GZIP
to decompress data read from another source.
Constructors
Functions
Constructors
GzipSource
Link copied to clipboard
jvm
fun
GzipSource
(source:
Source
)
Content copied to clipboard
Functions
close
Link copied to clipboard
jvm
open override fun
close
()
Content copied to clipboard
Closes this source and releases the resources held by this source.
equals
Link copied to clipboard
jvm
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
jvm
open fun
hashCode
():
Int
Content copied to clipboard
read
Link copied to clipboard
jvm
open override fun
read
(sink:
Buffer
, byteCount:
Long
):
Long
Content copied to clipboard
Removes at least 1, and up to
byteCount
bytes from this and appends them to
sink
.
timeout
Link copied to clipboard
jvm
open override fun
timeout
():
Timeout
Content copied to clipboard
Returns the timeout for this source.
toString
Link copied to clipboard
jvm
open fun
toString
():
String
Content copied to clipboard