tuweni / 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 - Bytes!: The bytes containing a UInt32. \ * @return A UInt32 containing the specified value.

Exceptions

IllegalArgumentException - if bytes.size() > 4.

static fun fromBytes(bytes: Bytes!, byteOrder: ByteOrder!): UInt32! (source)

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

Parameters

bytes - Bytes!: The bytes containing a UInt32.

byteOrder - ByteOrder!: the byte order of the value

Exceptions

IllegalArgumentException - if bytes.size() > 4.

Return
UInt32!: A UInt32 containing the specified value.