AssetArchiveReadOptions class

Namespace Runic.Assets · Runic.Assets 0.7.0-preview.5

public sealed class AssetArchiveReadOptions

Bounds memory and file counts while reading an untrusted asset archive.

Constructors

AssetArchiveReadOptions

public AssetArchiveReadOptions()

No documentation.

Properties

MaxArchiveBytes

public long MaxArchiveBytes { get; init; }

The maximum compressed archive size accepted in bytes.

MaxFileCount

public int MaxFileCount { get; init; }

The maximum number of declared files.

MaxManifestBytes

public long MaxManifestBytes { get; init; }

The maximum decompressed manifest size accepted in bytes.

MaxTotalUncompressedBytes

public long MaxTotalUncompressedBytes { get; init; }

The maximum combined uncompressed content size accepted in bytes.