IOSinkWrapper constructor

IOSinkWrapper(
  1. IOSink? origin
)

Constructor.

  • origin: the original sink. Note: it can be null. However, if null, you can't call most of methods, including origin. It is design to make it easier to implement a dummy sink.

Implementation

IOSinkWrapper(IOSink? origin) : super(origin);