Table of Contents

Class Checksum

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class Checksum
Inheritance
Checksum
Inherited Members

Methods

Copy(ChecksumHandle)

Calls native method g_checksum_copy. Version: 2.16

[Version("2.16")]
public static extern ChecksumOwnedHandle Copy(ChecksumHandle checksum)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

Returns

ChecksumOwnedHandle

Transfer ownership: Full Nullable: False

Free(ChecksumHandle)

Calls native method g_checksum_free. Version: 2.16

[Version("2.16")]
public static extern void Free(ChecksumHandle checksum)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

GetDigest(ChecksumHandle, ref byte, ref nuint)

Calls native method g_checksum_get_digest. Version: 2.16

[Version("2.16")]
public static extern void GetDigest(ChecksumHandle checksum, ref byte buffer, ref nuint digestLen)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

buffer byte

Transfer ownership: None Nullable: False

digestLen nuint

Transfer ownership: Full Nullable: False

GetGType()

Calls native function g_checksum_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetString(ChecksumHandle)

Calls native method g_checksum_get_string. Version: 2.16

[Version("2.16")]
public static extern NonNullableUtf8StringUnownedHandle GetString(ChecksumHandle checksum)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

New(ChecksumType)

Calls native constructor g_checksum_new. Version: 2.16

[Version("2.16")]
public static extern ChecksumOwnedHandle New(ChecksumType checksumType)

Parameters

checksumType ChecksumType

Transfer ownership: None Nullable: False

Returns

ChecksumOwnedHandle

Transfer ownership: Full Nullable: True

Reset(ChecksumHandle)

Calls native method g_checksum_reset. Version: 2.18

[Version("2.18")]
public static extern void Reset(ChecksumHandle checksum)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

TypeGetLength(ChecksumType)

Calls native function g_checksum_type_get_length. Version: 2.16

[Version("2.16")]
public static extern long TypeGetLength(ChecksumType checksumType)

Parameters

checksumType ChecksumType

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

Update(ChecksumHandle, ref byte, long)

Calls native method g_checksum_update. Version: 2.16

[Version("2.16")]
public static extern void Update(ChecksumHandle checksum, ref byte data, long length)

Parameters

checksum ChecksumHandle

Transfer ownership: None Nullable: False

data byte

Transfer ownership: None Nullable: False

length long

Transfer ownership: None Nullable: False