Table of Contents

Class CellFrameFamilies

Namespace
KernLab.Cell.Contracts
Assembly
KernLab.Cell.Contracts.dll

tag → 族归属(生成 CellFrameCodec 的 TagXxx 常量为单一事实源;未知 tag=协议错误)。

public static class CellFrameFamilies
Inheritance
CellFrameFamilies
Inherited Members

Methods

FamilyOf(byte)

tag 的族归属(未知 tag 抛 ArgumentOutOfRangeException——调用方先 IsKnown(byte))。

public static CellFrameFamily FamilyOf(byte tag)

Parameters

tag byte

Returns

CellFrameFamily

IsKnown(byte)

判定 tag 是否为已登记帧(协议版本内)——未知 tag 走协议错误面(§3.4)。

public static bool IsKnown(byte tag)

Parameters

tag byte

Returns

bool