parseOrNull

fun parseOrNull(ba: ByteArray, offset: Int = 0, length: Int = ba.size, charset: Charset = Charsets.UTF_8): Double?

Parses a double value from a substring of the specified byte array.

It uses the fast double parser if ParserOptions.useFastDoubleParser is enabled, else, or if that fails, it uses parseToDoubleOrNullFallback.


Parses a double value from the specified CharSequence.

It uses the fast double parser if ParserOptions.useFastDoubleParser is enabled, else, or if that fails, it uses parseToDoubleOrNullFallback.


fun parseOrNull(ca: CharArray, offset: Int = 0, length: Int = ca.size): Double?

Parses a double value from the specified CharArray.

It uses the fast double parser if ParserOptions.useFastDoubleParser is enabled, else, or if that fails, it uses parseToDoubleOrNullFallback.