Vixen
02b45cc4
csharp
public interface IOdbBlob

A blob a backend handed out, and the lifetime of the memory holding it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Disposable because a bundle backend answers with a slice of a memory-mapped file rather than a copy. The bytes stay valid until this is disposed, and not one instruction longer — which is the same contract Vixen.Core.IO's IMappedFile makes, for the same reason.

Fields and properties (1)

  • ReadOnlyMemory<byte> Bytes

    The bytes. Valid until this is disposed.

Used by (11)

  • ArrayBlobVixen.Core.Serialization
  • BlobVixen.Core.Serialization.Tests
  • BundleOdbBackendVixen.Core.Serialization
  • BundleWriterVixen.Core.Serialization
  • FileOdbBackendVixen.Core.Serialization
  • IOdbBackendVixen.Core.Serialization
  • MappedBlobVixen.Core.Serialization
  • MemoryOdbBackendVixen.Core.Serialization.Tests
  • ObjectDatabaseVixen.Core.Serialization
  • SliceVixen.Core.Serialization
  • ContentBuilderVixen.Editor.Assets