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

fromBytes

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

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

Parameters

bytes - The bytes containing a UInt32.

Exceptions

IllegalArgumentException - if bytes.size() > 8.

Return
A UInt32 containing the specified value.