DataOutputSink constructor

DataOutputSink(
  1. Sink<List<int>> _dest, [
  2. Endian endian = Endian.big
])

Create a sink that sends its data to dest with the given initial endian setting. Choose Endian.big for interoperability with java.io.DataOutputStream.

Implementation

DataOutputSink(this._dest, [this.endian = Endian.big]);