Package | Description |
---|---|
okio |
Okio complements
java.io and java.nio to make it much easier to access, store,
and process your data. |
Modifier and Type | Class and Description |
---|---|
class |
Buffer
A collection of bytes in memory.
|
(package private) class |
RealBufferedSource |
Modifier and Type | Field and Description |
---|---|
private BufferedSource |
GzipSource.source
Our source should yield a GZIP header (which we consume directly), followed
by deflated bytes (which we consume via an InflaterSource), followed by a
GZIP trailer (which we also consume directly).
|
private BufferedSource |
InflaterSource.source |
private BufferedSource |
PeekSource.upstream |
Modifier and Type | Method and Description |
---|---|
static BufferedSource |
Okio.buffer(Source source)
Returns a new source that buffers reads from
source . |
BufferedSource |
BufferedSource.peek()
Returns a new
BufferedSource that can read data from this BufferedSource
without consuming it. |
BufferedSource |
RealBufferedSource.peek() |
BufferedSource |
Buffer.peek() |
Constructor and Description |
---|
InflaterSource(BufferedSource source,
java.util.zip.Inflater inflater)
This package-private constructor shares a buffer with its trusted caller.
|
PeekSource(BufferedSource upstream) |