StAXReader
constructor(inputStream: InputStream, encoding: String? = null, expandEntities: Boolean = false)(source)
Create a new reader
Parameters
inputStream
The bytestream to read from
encoding
The encoding to use, or null to use autodetection (also using the encoding attribute in the document)