asLong

open fun asLong(defaultValue: Long): Long

Attempts to convert and return the value of this instance as a long. If the conversion is invalid, the default value is returned.

Return

The value of this instance as an unsigned byte.

Parameters

defaultValue

The default value to return if the conversion is invalid.


open fun asLong(): Long

Attempts to convert and return the value of this instance as a long. If the conversion is invalid, the default value is returned.

Return

The value of this instance as an unsigned byte.