Table of Contents

Class CodecTokens

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

The wire tokens of CodecKind, in both directions.

public static class CodecTokens
Inheritance
CodecTokens
Inherited Members

Methods

FromToken(string)

The kind a token names.

public static CodecKind FromToken(string token)

Parameters

token string

The token as it appears in a catalog.

Returns

CodecKind

The kind, or Unknown.

ToToken(CodecKind)

The token of kind.

public static string ToToken(CodecKind kind)

Parameters

kind CodecKind

A known kind.

Returns

string

The token; the empty string for Unknown.