startChunkedConversion method

  1. @override
StringConversionSink startChunkedConversion(
  1. Sink<List<XmlEvent>> sink
)
override

Starts a chunked conversion.

The returned sink serves as input for the long-running conversion. The given sink serves as output.

Implementation

@override
StringConversionSink startChunkedConversion(Sink<List<XmlEvent>> sink) =>
    _XmlEventDecoderSink(
        sink,
        entityMapping,
        XmlAnnotator(
          validateNesting: validateNesting,
          validateDocument: validateDocument,
          withBuffer: false,
          withLocation: withLocation,
          withParent: withParent,
        ));