open class DelegatingBytes32 : AbstractBytes, Bytes32
(source)
A class that holds and delegates all operations to its inner bytes field.
This class may be used to create more types that represent 32 bytes, but need a different name for business logic.
static val SIZE: Int
The number of bytes in this value - i.e. 32 |
|
static val ZERO: Bytes32
A |
open fun copy(): Bytes32 |
|
open fun get(i: Int): Byte |
|
open fun mutableCopy(): MutableBytes32 |
|
open fun size(): Int |
|
open fun slice(index: Int, length: Int): Bytes |
open fun and(other: Bytes32): Bytes32
Return a bit-wise AND of these bytes and the supplied bytes. |
|
open fun equals(other: Any?): Boolean
Compare this value and the provided one for equality. Two Bytes values are equal is they have contain the exact same bytes. |
|
open fun hashCode(): Int |
|
open fun or(other: Bytes32): Bytes32
Return a bit-wise OR of these bytes and the supplied bytes. |
|
open fun toString(): String |
|
open fun xor(other: Bytes32): Bytes32
Return a bit-wise XOR of these bytes and the supplied bytes. |