XmlByteStreamDecoder constructor

const XmlByteStreamDecoder({
  1. Encoding? defaultEncoding,
})

Creates a byte stream decoder with an optional defaultEncoding fallback (defaults to UTF-8 when no BOM or XML encoding declaration is found).

Implementation

const new({this.defaultEncoding});