Interface | Description |
---|---|
BufferedSink |
A sink that keeps a buffer internally so that callers can do small writes
without a performance penalty.
|
BufferedSource |
A source that keeps a buffer internally so that callers can do small reads
without a performance penalty.
|
Sink |
Receives a stream of bytes.
|
Source |
Supplies a stream of bytes.
|
Class | Description |
---|---|
AsyncTimeout |
This timeout uses a background thread to take action exactly when the timeout
occurs.
|
Buffer |
A collection of bytes in memory.
|
ByteString |
An immutable sequence of bytes.
|
DeflaterSink |
A sink that uses DEFLATE to
compress data written to another source.
|
ForwardingSink |
A
Sink which forwards calls to another. |
ForwardingSource |
A
Source which forwards calls to another. |
ForwardingTimeout |
A
Timeout which forwards calls to another. |
GzipSink |
A sink that uses GZIP to
compress written data to another sink.
|
GzipSource |
A source that uses GZIP to
decompress data read from another source.
|
InflaterSource |
A source that uses DEFLATE
to decompress data read from another source.
|
Okio |
Essential APIs for working with Okio.
|
Timeout |
A policy on how much time to spend on a task before giving up.
|
Copyright © 2016. All rights reserved.