Struct SHA256
- Namespace
- Lime
- Assembly
- Lime.dll
public struct SHA256 : IEquatable<SHA256>, IComparable<SHA256>
- Implements
- Inherited Members
Fields
A
[YuzuMember("0")]
public ulong A
Field Value
B
[YuzuMember("1")]
public ulong B
Field Value
C
[YuzuMember("2")]
public ulong C
Field Value
D
[YuzuMember("3")]
public ulong D
Field Value
Methods
CompareTo(SHA256)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(SHA256 other)
Parameters
other
SHA256An object to compare with this instance.
Returns
- int
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning Less than zero This instance precedes other
in the sort order.Zero This instance occurs in the same position in the sort order as other
.Greater than zero This instance follows other
in the sort order.
Compute(string)
public static SHA256 Compute(string source)
Parameters
source
string
Returns
Compute<T>(params T[])
public static SHA256 Compute<T>(params T[] source) where T : unmanaged
Parameters
source
T[]
Returns
Type Parameters
T
Compute<T>(T[], int, int)
public static SHA256 Compute<T>(T[] source, int start, int length) where T : unmanaged
Parameters
Returns
Type Parameters
T
Equals(SHA256)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SHA256 other)
Parameters
other
SHA256An object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(SHA256, SHA256)
public static bool operator ==(SHA256 lhs, SHA256 rhs)
Parameters
Returns
operator !=(SHA256, SHA256)
public static bool operator !=(SHA256 lhs, SHA256 rhs)