static fun fromBytes(bytes: Bytes!): Hash! (source)
Create a Hash from Bytes.
The hash must be exactly 32 bytes.
bytes - Bytes!: The bytes for this hash.
IllegalArgumentException - If bytes.size() != 32.
Return
Hash!: A hash.
static fun fromBytes(bytes: Bytes32!): Hash! (source)
Create a Hash from Bytes32.
bytes - Bytes32!: The bytes for this hash.
Return
Hash!: A hash.