Table of Contents

Class ByteArray

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class ByteArray : BoxedRecord, IEquatable<ByteArray>
Inheritance
ByteArray
Implements
Inherited Members

Constructors

ByteArray()

public ByteArray()

ByteArray(ByteArrayOwnedHandle)

public ByteArray(ByteArrayOwnedHandle handle)

Parameters

handle ByteArrayOwnedHandle

Properties

Data

public IntPtr Data { get; set; }

Property Value

IntPtr

Handle

public ByteArrayOwnedHandle Handle { get; }

Property Value

ByteArrayOwnedHandle

Len

public uint Len { get; set; }

Property Value

uint

Methods

Equals(ByteArray?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ByteArray? other)

Parameters

other ByteArray

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.