Table of Contents

BiffSstHeader Struct

Definition

Namespace
Bodu.IO.Biff
Assembly
Bodu.IO.Biff.dll
Package
Bodu.IO.Biff 1.0.0
Source
BiffSstHeader.cs

Represents the counts at the head of an SST record: the total number of string references in the workbook and the number of unique strings the table holds.

public readonly struct BiffSstHeader : IEquatable<BiffSstHeader>
Implements
Inherited Members
Extension Methods

Remarks

The record identifier is Sst; the record exists only in BIFF8. The eight bytes of counts are followed by the strings, which routinely overflow into CONTINUE records; GetSstHeader() decodes the counts without touching the strings, and BiffSstReader reads the strings.

Constructors

BiffSstHeader(uint, uint)

Represents the counts at the head of an SST record: the total number of string references in the workbook and the number of unique strings the table holds.

public BiffSstHeader(uint TotalCount, uint UniqueCount)

Parameters

TotalCount uint

The number of LABELSST references across the workbook (cstTotal).

UniqueCount uint

The number of strings in the table (cstUnique).

Remarks

The record identifier is Sst; the record exists only in BIFF8. The eight bytes of counts are followed by the strings, which routinely overflow into CONTINUE records; GetSstHeader() decodes the counts without touching the strings, and BiffSstReader reads the strings.

See Also

Properties

TotalCount

The number of LABELSST references across the workbook (cstTotal).

public uint TotalCount { get; init; }

Property Value

uint

UniqueCount

The number of strings in the table (cstUnique).

public uint UniqueCount { get; init; }

Property Value

uint

Methods

Deconstruct(out uint, out uint)

public void Deconstruct(out uint TotalCount, out uint UniqueCount)

Parameters

TotalCount uint
UniqueCount uint

Equals(BiffSstHeader)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(BiffSstHeader other)

Parameters

other BiffSstHeader

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(BiffSstHeader, BiffSstHeader)

public static bool operator ==(BiffSstHeader left, BiffSstHeader right)

Parameters

left BiffSstHeader
right BiffSstHeader

Returns

bool

operator !=(BiffSstHeader, BiffSstHeader)

public static bool operator !=(BiffSstHeader left, BiffSstHeader right)

Parameters

left BiffSstHeader
right BiffSstHeader

Returns

bool

Applies to

ProductVersions
.NET8, 10

See Also