Table of Contents

BiffRkCell Struct

Definition

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

Represents one cell of a MULRK run: its extended-format index and RK-encoded value.

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

Remarks

Cells are read from a BiffMulRkRecord by index and supplied to the writer as a span; Value decodes the RK form on access.

Constructors

BiffRkCell(ushort, uint)

Represents one cell of a MULRK run: its extended-format index and RK-encoded value.

public BiffRkCell(ushort XfIndex, uint RawValue)

Parameters

XfIndex ushort

The extended-format index of the cell.

RawValue uint

The 32-bit RK value as stored.

Remarks

Cells are read from a BiffMulRkRecord by index and supplied to the writer as a span; Value decodes the RK form on access.

See Also

Properties

RawValue

The 32-bit RK value as stored.

public uint RawValue { get; init; }

Property Value

uint

Value

Gets the decoded cell value.

public double Value { get; }

Property Value

double

The number RawValue represents.

XfIndex

The extended-format index of the cell.

public ushort XfIndex { get; init; }

Property Value

ushort

Methods

Deconstruct(out ushort, out uint)

public void Deconstruct(out ushort XfIndex, out uint RawValue)

Parameters

XfIndex ushort
RawValue uint

Equals(BiffRkCell)

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

public bool Equals(BiffRkCell other)

Parameters

other BiffRkCell

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 ==(BiffRkCell, BiffRkCell)

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

Parameters

left BiffRkCell
right BiffRkCell

Returns

bool

operator !=(BiffRkCell, BiffRkCell)

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

Parameters

left BiffRkCell
right BiffRkCell

Returns

bool

Applies to

ProductVersions
.NET8, 10

See Also