class Input : Destroyable
(source)
Input of generic hash function.
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun destroy(): Unit |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): Input static fun fromBytes(bytes: ByteArray): Input
Create a GenericHash.Input from an array of bytes. |
|
static fun fromHash(hash: Hash): Input
Create a GenericHash.Input from a hash. |
|
static fun fromPointer(allocated: Allocated): Input
Create a GenericHash.Input from a pointer. |
|
fun hashCode(): Int |
|
fun isDestroyed(): Boolean |
|
fun length(): Int |