BundleEntry
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Describes a single file entry within a .NET single-file bundle.
public sealed record BundleEntry : IEquatable<BundleEntry>Inheritance
Section titled “Inheritance”Object → BundleEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”BundleEntry(long, long, long, BundleFileType, string)
Section titled “BundleEntry(long, long, long, BundleFileType, string)”Describes a single file entry within a .NET single-file bundle.
Parameters:
Offset(Int64): Byte offset of the entry within the bundle file.Size(Int64): Uncompressed size in bytes.CompressedSize(Int64): Compressed size in bytes, or 0 if not compressed.Type(BundleFileType): The type of bundled file.RelativePath(String): Path of the embedded file, relative to the bundle source directory.
public BundleEntry(long Offset, long Size, long CompressedSize, BundleFileType Type, string RelativePath)Properties
Section titled “Properties”CompressedSize
Section titled “CompressedSize”Compressed size in bytes, or 0 if not compressed.
Returns: Int64
public long CompressedSize { get; init; }Offset
Section titled “Offset”Byte offset of the entry within the bundle file.
Returns: Int64
public long Offset { get; init; }RelativePath
Section titled “RelativePath”Path of the embedded file, relative to the bundle source directory.
Returns: String
public string RelativePath { get; init; }Uncompressed size in bytes.
Returns: Int64
public long Size { get; init; }The type of bundled file.
Returns: BundleFileType
public BundleFileType Type { get; init; }