XmlIncrementalLexer.isDrained

bool isDrained() const @safe pure nothrow

Returns true when there are no unread bytes and the stream has been marked as ended.