dm_tty_byte_size_from_value Function

public function dm_tty_byte_size_from_value(value, error) result(byte_size)

Returns byte size enumerator from numeric value. If the value is invalid, returns 0 by default and sets optional argument error to E_INVALID.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: value

Numeric byte size value.

integer, intent(out), optional :: error

Error code.

Return Value integer