StAXReader

constructor(reader: Reader)(source)
constructor(source: Source)(source)
constructor(delegate: XMLStreamReader)(source)


constructor(inputStream: InputStream, encoding: String? = null)(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)