Skip to main content
Version: 2.x

Class MsgPackToken

https://github.com/msgpack/msgpack/blob/master/spec.md

Assembly: cs.temp.dll.dll
Declaration
public static class MsgPackToken

Fields

MinPositiveFixInt

Declaration
public const byte MinPositiveFixInt = 0

MaxPositiveFixInt

Declaration
public const byte MaxPositiveFixInt = 127

MinFixMap

Declaration
public const byte MinFixMap = 128

MaxFixMap

Declaration
public const byte MaxFixMap = 143

MinFixArray

Declaration
public const byte MinFixArray = 144

MaxFixArray

Declaration
public const byte MaxFixArray = 159

MinFixStr

Declaration
public const byte MinFixStr = 160

MaxFixStr

Declaration
public const byte MaxFixStr = 191

Nil

Declaration
public const byte Nil = 192

NeverUsed

Declaration
public const byte NeverUsed = 193

False

Declaration
public const byte False = 194

True

Declaration
public const byte True = 195

Bin8

Declaration
public const byte Bin8 = 196

Bin16

Declaration
public const byte Bin16 = 197

Bin32

Declaration
public const byte Bin32 = 198

Ext8

Declaration
public const byte Ext8 = 199

Ext16

Declaration
public const byte Ext16 = 200

Ext32

Declaration
public const byte Ext32 = 201

Float32

Declaration
public const byte Float32 = 202

Float64

Declaration
public const byte Float64 = 203

Uint8

Declaration
public const byte Uint8 = 204

Uint16

Declaration
public const byte Uint16 = 205

Uint32

Declaration
public const byte Uint32 = 206

Uint64

Declaration
public const byte Uint64 = 207

Int8

Declaration
public const byte Int8 = 208

Int16

Declaration
public const byte Int16 = 209

Int32

Declaration
public const byte Int32 = 210

Int64

Declaration
public const byte Int64 = 211

FixExt1

Declaration
public const byte FixExt1 = 212

FixExt2

Declaration
public const byte FixExt2 = 213

FixExt4

Declaration
public const byte FixExt4 = 214

FixExt8

Declaration
public const byte FixExt8 = 215

FixExt16

Declaration
public const byte FixExt16 = 216

Str8

Declaration
public const byte Str8 = 217

Str16

Declaration
public const byte Str16 = 218

Str32

Declaration
public const byte Str32 = 219

Array16

Declaration
public const byte Array16 = 220

Array32

Declaration
public const byte Array32 = 221

Map16

Declaration
public const byte Map16 = 222

Map32

Declaration
public const byte Map32 = 223

MinNegativeFixInt

Declaration
public const byte MinNegativeFixInt = 224

MaxNegativeFixInt

Declaration
public const byte MaxNegativeFixInt = 255

Type_Unknown

Declaration
public const byte Type_Unknown = 0

Type_Integer

Declaration
public const byte Type_Integer = 1

Type_Nil

Declaration
public const byte Type_Nil = 2

Type_Boolean

Declaration
public const byte Type_Boolean = 3

Type_Float

Declaration
public const byte Type_Float = 4

Type_String

Declaration
public const byte Type_String = 5

Type_Binary

Declaration
public const byte Type_Binary = 6

Type_Array

Declaration
public const byte Type_Array = 7

Type_Map

Declaration
public const byte Type_Map = 8

Type_Extension

Declaration
public const byte Type_Extension = 9

ExtTypeCode_Timestamp

Declaration
public const sbyte ExtTypeCode_Timestamp = -1

Methods

GetSourceType(byte)

Declaration
public static byte GetSourceType(byte token)
Returns

System.Byte

Parameters
TypeName
System.Bytetoken

GetFormatName(byte)

Declaration
public static string GetFormatName(byte token)
Returns

System.String

Parameters
TypeName
System.Bytetoken

IsNegativeFixInt(byte)

Declaration
public static bool IsNegativeFixInt(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsPositiveFixInt(byte)

Declaration
public static bool IsPositiveFixInt(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsFixStr(byte)

Declaration
public static bool IsFixStr(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsFixMap(byte)

Declaration
public static bool IsFixMap(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsFixArray(byte)

Declaration
public static bool IsFixArray(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsByte(byte)

Declaration
public static bool IsByte(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsSByte(byte)

Declaration
public static bool IsSByte(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsShort(byte)

Declaration
public static bool IsShort(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsUShort(byte)

Declaration
public static bool IsUShort(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsInt(byte)

Declaration
public static bool IsInt(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsUInt(byte)

Declaration
public static bool IsUInt(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsLong(byte)

Declaration
public static bool IsLong(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsULong(byte)

Declaration
public static bool IsULong(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsFloat(byte)

Declaration
public static bool IsFloat(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsDouble(byte)

Declaration
public static bool IsDouble(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsString(byte)

Declaration
public static bool IsString(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsBinary(byte)

Declaration
public static bool IsBinary(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsArray(byte)

Declaration
public static bool IsArray(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsMap(byte)

Declaration
public static bool IsMap(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsExtension(byte)

Declaration
public static bool IsExtension(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken

IsNil(byte)

Declaration
public static bool IsNil(byte token)
Returns

System.Boolean

Parameters
TypeName
System.Bytetoken