Package | Description |
---|---|
okio |
Okio complements
java.io and java.nio to make it much easier to access, store,
and process your data. |
okio.samples |
Class and Description |
---|
AsyncTimeout
This timeout uses a background thread to take action exactly when the timeout occurs.
|
Buffer
A collection of bytes in memory.
|
Buffer.UnsafeCursor
A handle to the underlying data in a buffer.
|
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.
|
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. |
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.
|
Options
An indexed set of values that may be read with
BufferedSource.select(okio.Options) . |
PushableTimeout
A timeout that can apply its own state to another timeout for the duration
of a call.
|
Segment
A segment of a buffer.
|
Sink
Receives a stream of bytes.
|
Source
Supplies a stream of bytes.
|
Timeout
A policy on how much time to spend on a task before giving up.
|
Class and Description |
---|
Buffer
A collection of bytes in memory.
|
Source
Supplies a stream of bytes.
|
Timeout
A policy on how much time to spend on a task before giving up.
|