advanceUntil

fun advanceUntil(predicate: (XmlChar) -> Boolean)

Advances to the next XmlChar in the buffer that matches the predicate.

This can be used to implement Char - T constructs in lexical tokens.