Class IouValue
Inheritance
System.Object
IouValue
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class IouValue : AmountValue
Constructors
|
Improve this Doc
View Source
IouValue(Byte[], Int32, Int32)
Declaration
public IouValue(byte[] mantissa, int sign, int exponent = 0)
Parameters
Type |
Name |
Description |
System.Byte[] |
mantissa |
|
System.Int32 |
sign |
|
System.Int32 |
exponent |
|
|
Improve this Doc
View Source
IouValue(UInt64, Int32, Boolean, Nullable<Int32>, Boolean)
Declaration
public IouValue(ulong mantissa, int exponent, bool isNegative, int? precision = null, bool normalise = true)
Parameters
Type |
Name |
Description |
System.UInt64 |
mantissa |
|
System.Int32 |
exponent |
|
System.Boolean |
isNegative |
|
System.Nullable<System.Int32> |
precision |
|
System.Boolean |
normalise |
|
Fields
|
Improve this Doc
View Source
Exponent
Declaration
public readonly int Exponent
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IllegalOffer
Declaration
public static readonly IouValue IllegalOffer
Field Value
|
Improve this Doc
View Source
IllegalOfferMantissaString
Declaration
public const string IllegalOfferMantissaString = null
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsNegative
Declaration
public readonly bool IsNegative
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Mantissa
Declaration
public readonly ulong Mantissa
Field Value
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
MaxExponent
Declaration
public const int MaxExponent = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MaxMantissa
Declaration
public static readonly ulong MaxMantissa
Field Value
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
MaxPrecision
Declaration
public const int MaxPrecision = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MinExponent
Declaration
public const int MinExponent = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MinMantissa
Declaration
public static readonly ulong MinMantissa
Field Value
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
Precision
Declaration
public readonly int Precision
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ValueRegex
Declaration
public const string ValueRegex = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
IsIou
Declaration
public override bool IsIou { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsZero
Declaration
public bool IsZero { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
FromString(String)
Declaration
public static IouValue FromString(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
|
Improve this Doc
View Source
MantissaBytes()
Declaration
public byte[] MantissaBytes()
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
ToBytes()
Declaration
public override byte[] ToBytes()
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides