Blob Class
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.
Represents a blob of data in memory.
public class Blob : HarfBuzzSharp.NativeObject
- Inheritance
Constructors
| Blob(IntPtr, Int32, MemoryMode, ReleaseDelegate) |
Creates a new Blob instance, wrapping the specified data. |
| Blob(IntPtr, Int32, MemoryMode) |
Creates a new Blob instance, wrapping the specified data. |
| Blob(IntPtr, UInt32, MemoryMode, Object, BlobReleaseDelegate) |
Obsolete.
Creates a new Blob instance, wrapping the specified data. |
Properties
| Empty |
Gets a reference to the empty Blob instance. |
| FaceCount |
Gets the number of faces in this blob. |
| Handle |
Gets or sets the handle to the underlying native object. (Inherited from NativeObject) |
| IsImmutable |
Gets the value indicating whether the blob is immutable. |
| Length |
Gets the length of blob data in bytes. |
Methods
| AsSpan() |
Returns a span that wraps the data. |
| AsStream() |
Returns a stream that wraps the data. |
| Dispose() |
Releases all resources used by this NativeObject. (Inherited from NativeObject) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Blob and optionally releases the managed resources. |
| DisposeHandler() |
Releases the unmanaged resources used. |
| FromFile(String) |
Creates a new Blob instance from the contents of the file. |
| FromStream(Stream) |
Creates a new Blob instance from the contents of the stream. |
| MakeImmutable() |
Makes the blob immutable. |