Blob Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.