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; }Methods
Section titled “Methods”Deconstruct(out long, out long, out long, out BundleFileType, out string)
Section titled “Deconstruct(out long, out long, out long, out BundleFileType, out string)”Parameters:
Offset(Int64)Size(Int64)CompressedSize(Int64)Type(BundleFileType)RelativePath(String)
public void Deconstruct(out long Offset, out long Size, out long CompressedSize, out BundleFileType Type, out string RelativePath)Equals(BundleEntry?)
Section titled “Equals(BundleEntry?)”Parameters:
other(BundleEntry)
Returns: Boolean
public bool Equals(BundleEntry? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(BundleEntry?, BundleEntry?)
Section titled “operator !=(BundleEntry?, BundleEntry?)”Parameters:
left(BundleEntry)right(BundleEntry)
Returns: Boolean
public static bool operator !=(BundleEntry? left, BundleEntry? right)operator ==(BundleEntry?, BundleEntry?)
Section titled “operator ==(BundleEntry?, BundleEntry?)”Parameters:
left(BundleEntry)right(BundleEntry)
Returns: Boolean
public static bool operator ==(BundleEntry? left, BundleEntry? right)