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

fromBytes

static fun fromBytes(bytes: Bytes!): UInt256! (source)

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

Parameters

bytes - Bytes!: The bytes containing a UInt256.

Exceptions

IllegalArgumentException - if bytes.size() > 32.

Return
UInt256!: A UInt256 containing the specified value.