AssetArchiveReadOptions class

Namespace Runic.Assets in Runic.Assets 0.23.0

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.