XmlByteStreamDecoderExtension extension

Extension for byte stream decoding.

on

Methods

decodeXmlStream({Encoding? defaultEncoding}) → Stream<String>

Available on Stream<List<int>>, provided by the XmlByteStreamDecoderExtension extension

Decodes a byte stream into a string stream, automatically detecting and stripping byte order marks (BOM) and resolving encoding declarations.
toXmlEvents({Encoding? defaultEncoding, XmlEntityMapping? entityMapping, bool validateDocument = false, bool validateNamespace = false, bool validateNesting = false, bool validateAttributes = false, bool withLocation = false, bool withNamespace = false, bool withParent = false}) → Stream<List<XmlEvent>>

Available on Stream<List<int>>, provided by the XmlByteStreamDecoderExtension extension

Converts a byte stream into a sequence of XmlEvent objects.