fromDuration

Convert from SCValXdr with the type of SCValTypeXdr.SCV_DURATION to ULong.

Return

the duration (uint64)

Parameters

scVal

SCValXdr to convert

Throws