unformatValue

fnT unformatValue(T, Range, Char)(ref Range input, scope const ref FormatSpec!Char spec)

Reads a value from the given _input range and converts it according to a format specifier.

Parameters

inputthe input range, to read from
speca format string
Ttype to return
Rangethe type of the input range input
Charthe character type used for spec

Returns

A value from input of type T.

Throws

A FormatException

if reading did not succeed.

See Also

parse and to