Blob Class
Namespace: Stride.Core.StorageAssembly: Stride.Core.Serialization.dll
Stores immutable binary content.
Derived from Blob:
public class Blob : ReferenceBase, IReferencable
Name | Description | |
---|---|---|
Constructors | ||
Blob(ObjectDatabase, ObjectId) | ||
Properties | ||
Content | Gets the content. |
|
ObjectId | Gets the ObjectId. |
|
Size | Gets the size. |
|
Methods | ||
Destroy() | Releases unmanaged and - optionally - managed resources |
|
GetContentStream() | Gets a NativeStream over the Content. |
Constructors
Blob(ObjectDatabase, ObjectId)
protected Blob(ObjectDatabase objectDatabase, ObjectId objectId)
Parameters
Type | Name | Description |
---|---|---|
ObjectDatabase | objectDatabase | |
ObjectId | objectId |
Properties
Content
Gets the content.
public IntPtr Content { get; }
Property Value
Type | Description |
---|---|
System.IntPtr | The content. |
ObjectId
Gets the ObjectId.
public ObjectId ObjectId { get; }
Property Value
Type | Description |
---|---|
ObjectId | The ObjectId. |
Size
Gets the size.
public int Size { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The size. |
Methods
Destroy()
Releases unmanaged and - optionally - managed resources
protected override void Destroy()
Overrides
GetContentStream()
Gets a NativeStream over the Content.
public NativeStream GetContentStream()
Returns
Type | Description |
---|---|
NativeStream | A NativeStream over the Content. |