ForwardingSink

abstract class ForwardingSink(delegate: Sink) : Sink

A Sink which forwards calls to another. Useful for subclassing.

Constructors

ForwardingSink
Link copied to clipboard
fun ForwardingSink(delegate: Sink)

Functions

close
Link copied to clipboard
open override fun close()
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
flush
Link copied to clipboard
open override fun flush()
hashCode
Link copied to clipboard
open fun hashCode(): Int
timeout
Link copied to clipboard
open override fun timeout(): Timeout
toString
Link copied to clipboard
open override fun toString(): String
write
Link copied to clipboard
open override fun write(source: Buffer, byteCount: Long)

Properties

delegate
Link copied to clipboard
val delegate: Sink
Sink to which this instance is delegating.

Inheritors

HashingSink
Link copied to clipboard