Table of Contents

Class AxolotlPackage

Namespace
Axolotl2D.Packages
Assembly
Axolotl2D.dll

A validated package index whose payloads remain on disk until opened.

public sealed class AxolotlPackage : IDisposable
Inheritance
AxolotlPackage
Implements
Inherited Members

Properties

Entries

The structurally validated entry index.

public IReadOnlyList<AxolotlPackageEntry> Entries { get; }

Property Value

IReadOnlyList<AxolotlPackageEntry>

Manifest

The validated module manifest.

public AxolotlPackageManifest Manifest { get; }

Property Value

AxolotlPackageManifest

Path

The absolute source path retained under a read lock.

public string Path { get; }

Property Value

string

Signature

The signature trailer, when present.

public AxolotlPackageSignature? Signature { get; }

Property Value

AxolotlPackageSignature

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

OpenEntry(string)

Opens a bounded stream over one entry payload.

public Stream OpenEntry(string name)

Parameters

name string

Returns

Stream

TryGetEntry(string, out AxolotlPackageEntry?)

Looks up an indexed entry without reading its payload.

public bool TryGetEntry(string name, out AxolotlPackageEntry? entry)

Parameters

name string
entry AxolotlPackageEntry

Returns

bool