| 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.
|
| HashingSink |
A sink that computes a hash of the full stream of bytes it has accepted.
|
| HashingSource |
A source that computes a hash of the full stream of bytes it has supplied.
|
| InflaterSource |
A source that uses DEFLATE
to decompress data read from another source.
|
| Okio |
Essential APIs for working with Okio.
|
| Options |
An indexed set of values that may be read with
BufferedSource.select(okio.Options). |
| Pipe |
A source and a sink that are attached.
|
| Timeout |
A policy on how much time to spend on a task before giving up.
|
| Utf8 |
Okio assumes most applications use UTF-8 exclusively, and offers optimized implementations of
common operations on UTF-8 strings.
|
Copyright © 2017. All rights reserved.