Hash256 class

Implemented types

Constructors

Hash256(dynamic content)

Properties

buffer ByteBuffer
Returns the byte buffer associated with this object.
no setterinherited
bytes Uint8List
Access the underlying bytes of the hash value.
no setterinherited
elementSizeInBytes int
Returns 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
Returns the length of this view, in bytes.
no setter
offsetInBytes int
Returns the offset in bytes into the underlying byte buffer of this view.
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 Hash256
final

Constants

LENGTH → const int