units / org.apache.tuweni.units.bigints / UInt64 / fromBytes

fromBytes

static fun fromBytes(bytes: Bytes): UInt64 (source)

Return a UInt64 containing the value described by the specified bytes.

Parameters

bytes - The bytes containing a UInt64.

Exceptions

IllegalArgumentException - if bytes.size() > 8.

Return
A UInt64 containing the specified value.