Package okio


Okio complements java.io and java.nio to make it much easier to access, store, and process your data.
  • Class
    Description
    This timeout uses a background thread to take action exactly when the timeout occurs.
    A collection of bytes in memory.
    A handle to the underlying data in a buffer.
    A sink that keeps a buffer internally so that callers can do small writes without a performance penalty.
    A source that keeps a buffer internally so that callers can do small reads without a performance penalty.
    An immutable sequence of bytes.
    A sink that uses DEFLATE to compress data written to another source.
    A Sink which forwards calls to another.
    A Source which forwards calls to another.
    A Timeout which forwards calls to another.
    A sink that uses GZIP to compress written data to another sink.
    A source that uses GZIP to decompress data read from another source.
    A sink that computes a hash of the full stream of bytes it has accepted.
    A source that computes a hash of the full stream of bytes it has supplied.
    A source that uses DEFLATE to decompress data read from another source.
    Essential APIs for working with Okio.
    An indexed set of values that may be read with BufferedSource.select(okio.Options).
    A source and a sink that are attached.
    Receives a stream of bytes.
    Supplies a stream of bytes.
    A policy on how much time to spend on a task before giving up.
    Okio assumes most applications use UTF-8 exclusively, and offers optimized implementations of common operations on UTF-8 strings.