-
interface
A sink that keeps a buffer internally so that callers can do small writes
without a performance penalty.
final class
A collection of bytes in memory.
final class
A sink that uses
DEFLATE to
compress data written to another source.
class
A
Sink
which forwards calls to another.
final class
A sink that uses
GZIP to
compress written data to another sink.
final class
A sink that computes a hash of the full stream of bytes it has accepted.
Returns a sink that appends to file
.
Returns a sink that writes nowhere.
Sink
to which this instance is delegating.
Returns a new sink that delegates to sink
, using this to implement timeouts.
Returns a sink that writes to file
.
Returns a sink that writes to out
.
Returns a sink that writes to socket
.
Returns a sink that writes to path
.
Methods in okio with parameters of type Sink
Returns a new sink that buffers writes to sink
.
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 SHA-512 HMAC algorithm to produce 512-bit hashes.
Returns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.
long
long
Removes all bytes from this and appends them to sink
.
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 sink that uses the SHA-512 hash algorithm to produce 512-bit hashes.
Returns a new sink that delegates to sink
, using this to implement timeouts.
Constructors in okio with parameters of type Sink