Table of Contents

Class Blob

Namespace
Stride.Core.Storage
Assembly
Stride.Core.Serialization.dll

Stores immutable binary content.

public class Blob : ReferenceBase, IReferencable
Inheritance
Blob
Implements
Inherited Members
Extension Methods

Constructors

Blob(ObjectDatabase, ObjectId)

protected Blob(ObjectDatabase objectDatabase, ObjectId objectId)

Parameters

objectDatabase ObjectDatabase
objectId ObjectId

Properties

Content

Gets the content.

public IntPtr Content { get; }

Property Value

IntPtr

The content.

ObjectId

Gets the ObjectId.

public ObjectId ObjectId { get; }

Property Value

ObjectId

The ObjectId.

Size

Gets the size.

public int Size { get; }

Property Value

int

The size.

Methods

Destroy()

Releases unmanaged and - optionally - managed resources

protected override void Destroy()

GetContentStream()

Gets a Stream over the Content.

public Stream GetContentStream()

Returns

Stream

A Stream over the Content.