KtXmlReader
fun KtXmlReader(inputStream: InputStream, encoding: String? = null, relaxed: Boolean = false): <Error class: unknown class>(source)
Helper factory for xml reading that autodetects encodings.
Parameters
inputStream
The inputstream from which to read the bytes
encoding
The encoding to use, or null
to use autodetection (including the encoding attribute in the XML)
relaxed