vertx / io.vertx.core.parsetools / RecordParser / delimitedMode

delimitedMode

abstract fun delimitedMode(delim: String): Unit

Flip the parser into delimited mode, and where the delimiter can be represented by the String delim encoded in latin-1 . Don't use this if your String contains other than latin-1 characters.

This method can be called multiple times with different values of delim while data is being parsed.

Parameters

delim - the new delimeter

abstract fun delimitedMode(delim: Buffer): Unit

Flip the parser into delimited mode, and where the delimiter can be represented by the delimiter delim.

This method can be called multiple times with different values of delim while data is being parsed.

Parameters

delim - the new delimiter