Edit

Blob Constructors

Definition

Overloads

Name Description
Blob(IntPtr, Int32, MemoryMode)

Initializes a new instance of the Blob class, wrapping the specified data.

Blob(IntPtr, Int32, MemoryMode, ReleaseDelegate)

Initializes a new instance of the Blob class, wrapping the specified data.

Blob(IntPtr, Int32, MemoryMode)

Initializes a new instance of the Blob class, wrapping the specified data.

public Blob(IntPtr data, int length, HarfBuzzSharp.MemoryMode mode);

Parameters

data
IntPtr

The data to wrap.

length
Int32

The length of the data being wrapped.

mode
MemoryMode

The memory mode to use.

Remarks

If there was a problem creating the blob, or if the data length was zero, then an empty blob will be created.

Applies to

Blob(IntPtr, Int32, MemoryMode, ReleaseDelegate)

Initializes a new instance of the Blob class, wrapping the specified data.

public Blob(IntPtr data, int length, HarfBuzzSharp.MemoryMode mode, HarfBuzzSharp.ReleaseDelegate releaseDelegate);

Parameters

data
IntPtr

The data to wrap.

length
Int32

The length of the data being wrapped.

mode
MemoryMode

The memory mode to use.

releaseDelegate
ReleaseDelegate

The delegate to invoke when the data is not needed anymore.

Remarks

If there was a problem creating the blob, or if the data length was zero, then an empty blob will be created.

Applies to