Hash160 class

Implemented types

Constructors

Hash160(dynamic content)

Properties

buffer → ByteBuffer
The byte buffer associated with this object.
no setterinherited
bytes → Uint8List
Access the underlying bytes of the hash value.
no setterinherited
elementSizeInBytes → int
The number of bytes in the representation of each element in this list.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
lengthInBytes → int
The length of this view, in bytes.
no setter
offsetInBytes → int
The offset of this view into the underlying byte buffer, in bytes.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asBigInteger() → BigInt
The hash value as a Big Integer.
inherited
asBytes() → Uint8List
The bytes that represent the hash value. (Same as bytes getter.)
inherited
copyAsBigInteger() → BigInt
Copy this hash value as a Big Integer.
inherited
copyAsBytes() → Uint8List
Copy this hash value as a byte list.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHex() → String
Hexadecimal representation of this hash value.
inherited
toJson() → dynamic
Convert to JSON encodable. Returns hex string.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

ZERO_HASH → Hash160
final

Constants

LENGTH → const int