Class IouValue
Inheritance
object
IouValue
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class IouValue : AmountValue
Constructors
|
Edit this page
View Source
IouValue(byte[], int, int)
Declaration
public IouValue(byte[] mantissa, int sign, int exponent = 0)
Parameters
| Type |
Name |
Description |
| byte[] |
mantissa |
|
| int |
sign |
|
| int |
exponent |
|
|
Edit this page
View Source
IouValue(ulong, int, bool, int?, bool)
Declaration
public IouValue(ulong mantissa, int exponent, bool isNegative, int? precision = null, bool normalise = true)
Parameters
| Type |
Name |
Description |
| ulong |
mantissa |
|
| int |
exponent |
|
| bool |
isNegative |
|
| int? |
precision |
|
| bool |
normalise |
|
Fields
|
Edit this page
View Source
Exponent
Declaration
public readonly int Exponent
Field Value
|
Edit this page
View Source
IllegalOffer
Declaration
public static readonly IouValue IllegalOffer
Field Value
|
Edit this page
View Source
IllegalOfferMantissaString
Declaration
public const string IllegalOfferMantissaString = "1000000000000000100"
Field Value
|
Edit this page
View Source
IsNegative
Declaration
public readonly bool IsNegative
Field Value
|
Edit this page
View Source
Mantissa
Declaration
public readonly ulong Mantissa
Field Value
|
Edit this page
View Source
MaxExponent
Declaration
public const int MaxExponent = 80
Field Value
|
Edit this page
View Source
MaxMantissa
Declaration
public static readonly ulong MaxMantissa
Field Value
|
Edit this page
View Source
MaxPrecision
Declaration
public const int MaxPrecision = 16
Field Value
|
Edit this page
View Source
MinExponent
Declaration
public const int MinExponent = -96
Field Value
|
Edit this page
View Source
MinMantissa
Declaration
public static readonly ulong MinMantissa
Field Value
|
Edit this page
View Source
Precision
Declaration
public readonly int Precision
Field Value
|
Edit this page
View Source
ValueRegex
Declaration
public const string ValueRegex = "^([-+])?(\\d+)?(\\.(\\d+))?([eE]([+-]?\\d+))?$"
Field Value
Properties
|
Edit this page
View Source
IsIou
Declaration
public override bool IsIou { get; }
Property Value
Overrides
|
Edit this page
View Source
IsZero
Declaration
public bool IsZero { get; }
Property Value
Methods
|
Edit this page
View Source
FromString(string)
Declaration
public static IouValue FromString(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
|
Edit this page
View Source
MantissaBytes()
Declaration
public byte[] MantissaBytes()
Returns
|
Edit this page
View Source
ToBytes()
Declaration
public override byte[] ToBytes()
Returns
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides