Class Checksum
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Checksum : BoxedRecord, IEquatable<Checksum>
- Inheritance
-
Checksum
- Implements
- Inherited Members
Constructors
Checksum(ChecksumOwnedHandle)
public Checksum(ChecksumOwnedHandle handle)
Parameters
handle
ChecksumOwnedHandle
Properties
Handle
public ChecksumOwnedHandle Handle { get; }
Property Value
Methods
Copy()
[Version("2.16")]
public Checksum Copy()
Returns
Equals(Checksum?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Checksum? other)
Parameters
other
ChecksumAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("2.16")]
public void Free()
GetDigest(Span<byte>, out nuint)
[Version("2.16")]
public void GetDigest(Span<byte> buffer, out nuint digestLen)
Parameters
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetString()
[Version("2.16")]
public string GetString()
Returns
New(ChecksumType)
[Version("2.16")]
public static Checksum? New(ChecksumType checksumType)
Parameters
checksumType
ChecksumType
Returns
Reset()
[Version("2.18")]
public void Reset()
TypeGetLength(ChecksumType)
[Version("2.16")]
public static long TypeGetLength(ChecksumType checksumType)
Parameters
checksumType
ChecksumType
Returns
Update(Span<byte>)
[Version("2.16")]
public void Update(Span<byte> data)