PeterO.Cbor.CBORNumber.NumberKind

## PeterO.Cbor.CBORNumber.NumberKind

public sealed struct NumberKind :
    System.Enum,
    System.IComparable,
    System.IConvertible,
    System.IFormattable

Specifies the underlying form of this CBOR number object.

Member Summary

### Double

public static PeterO.Cbor.CBORNumber.NumberKind Double = 1;

A 64-bit binary floating-point number.

### EDecimal

public static PeterO.Cbor.CBORNumber.NumberKind EDecimal = 3;

An arbitrary-precision decimal number.

### EFloat

public static PeterO.Cbor.CBORNumber.NumberKind EFloat = 4;

An arbitrary-precision binary number.

### EInteger

public static PeterO.Cbor.CBORNumber.NumberKind EInteger = 2;

An arbitrary-precision integer.

### ERational

public static PeterO.Cbor.CBORNumber.NumberKind ERational = 5;

An arbitrary-precision rational number.

### Integer

public static PeterO.Cbor.CBORNumber.NumberKind Integer = 0;

A 64-bit signed integer.

Back to CBOR start page.