Table of Contents

BiffMulRkRecord Struct

Definition

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

Represents a decoded MULRK record: a run of adjacent RK-encoded number cells in one row, exposed by index without materializing an array.

public readonly ref struct BiffMulRkRecord
Inherited Members

Remarks

The record identifier is MulRk. The payload is the row and first column, six bytes per cell (a 16-bit extended-format index and a 32-bit RK value), and the declared last column; the layout is identical in BIFF5 and BIFF8. A payload whose cell area is not a whole number of cells is rejected as malformed.

Properties

Count

Gets the number of cells in the run.

public int Count { get; }

Property Value

int

The cell count.

FirstColumn

Gets the zero-based index of the first cell's column.

public int FirstColumn { get; }

Property Value

int

The first column index.

this[int]

Gets the cell at the specified position in the run.

public BiffRkCell this[int index] { get; }

Parameters

index int

The zero-based position within the run.

Property Value

BiffRkCell

The cell's format index and RK value.

Exceptions

ArgumentOutOfRangeException

Thrown when index is negative or not less than Count.

LastColumn

Gets the zero-based index of the last cell's column as declared by the record's trailing field.

public int LastColumn { get; }

Property Value

int

The declared last column. A conformant record declares FirstColumn + Count − 1; the codec exposes the declared value rather than enforcing it.

Row

Gets the zero-based row index.

public int Row { get; }

Property Value

int

The row index.

Methods

GetColumn(int)

Gets the zero-based column index of the cell at the specified position in the run.

public int GetColumn(int index)

Parameters

index int

The zero-based position within the run.

Returns

int

The column index.

Applies to

ProductVersions
.NET8, 10

See Also