| 构造器和说明 |
|---|
GzipSource(Source source) |
public GzipSource(Source source)
public long read(Buffer sink, long byteCount) throws IOException
SourcebyteCount bytes from this and appends them to sink. Returns the number of bytes read, or -1 if this source is exhausted.read 在接口中 SourceIOExceptionpublic void close()
throws IOException
Sourceclose 在接口中 Sourceclose 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2025. All rights reserved.