C# Class PeterO.Cbor.CBORObject

Show file Open project: peteroupc/CBOR Class Usage Examples

Public Methods

Method Description
FromObject ( decimal value ) : CBORObject
operator ( ) : CBORObject

Private Methods

Method Description
AsDecimal ( ) : decimal
AsSByte ( ) : sbyte
AsUInt16 ( ) : ushort
AsUInt32 ( ) : uint
AsUInt64 ( ) : ulong
DecimalToEInteger ( decimal dec ) : PeterO.Numbers.EInteger
ExtendedDecimalToDecimal ( PeterO.Numbers.EDecimal extendedNumber ) : decimal
ExtendedRationalToDecimal ( PeterO.Numbers.ERational extendedNumber ) : decimal
FromObject ( sbyte value ) : CBORObject
FromObject ( uint value ) : CBORObject
FromObject ( ulong value ) : CBORObject
FromObject ( ushort value ) : CBORObject
FromObjectAndTag ( Object o, ulong tag ) : CBORObject
UInt64ToEInteger ( ulong value ) : PeterO.Numbers.EInteger
Write ( sbyte value, Stream stream ) : void
Write ( uint value, Stream stream ) : void
Write ( ulong value, Stream stream ) : void
Write ( ushort value, Stream stream ) : void

Method Details

FromObject() public static method

public static FromObject ( decimal value ) : CBORObject
value decimal
return CBORObject

operator() public static method

public static operator ( ) : CBORObject
return CBORObject