-
interface
A source that keeps a buffer internally so that callers can do small reads without a performance
penalty.
final class
A collection of bytes in memory.
class
A
Source
which forwards calls to another.
final class
A source that uses
GZIP to
decompress data read from another source.
final class
A source that computes a hash of the full stream of bytes it has supplied.
final class
A source that uses
DEFLATE
to decompress data read from another source.
Source
to which this instance is delegating.
Returns a new source that delegates to source
, using this to implement timeouts.
Returns a source that reads from file
.
Returns a source that reads from in
.
Returns a source that reads from socket
.
Returns a source that reads from path
.
Returns a new source that buffers reads from source
.
Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.
Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
Returns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.
Returns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.
Returns a new source that delegates to source
, using this to implement timeouts.
Removes byteCount
bytes from source
and appends them to this sink.
long
long
Removes all bytes from source
and appends them to this sink.
Constructors in okio with parameters of type Source