类 GzipSource
java.lang.Object
com.lark.oapi.okio.GzipSource
- 所有已实现的接口:
Source,Closeable,AutoCloseable
A source that uses GZIP to decompress data read
from another source.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
GzipSource
-
-
方法详细资料
-
read
从接口复制的说明:SourceRemoves at least 1, and up tobyteCountbytes from this and appends them tosink. Returns the number of bytes read, or -1 if this source is exhausted.- 指定者:
read在接口中Source- 抛出:
IOException
-
timeout
从接口复制的说明:SourceReturns the timeout for this source. -
close
从接口复制的说明:SourceCloses this source and releases the resources held by this source. It is an error to read a closed source. It is safe to close a source more than once.- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在接口中Source- 抛出:
IOException
-