Show / Hide Table of Contents

Class IouValue

Inheritance
object
AmountValue
IouValue
Inherited Members
AmountValue.FromString(string, bool)
AmountValue.FromMpt(string)
AmountValue.FromParser(BinaryParser)
Namespace: Xrpl.BinaryCodec.Types
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
Type Description
int
| Edit this page View Source

IllegalOffer

Declaration
public static readonly IouValue IllegalOffer
Field Value
Type Description
IouValue
| Edit this page View Source

IllegalOfferMantissaString

Declaration
public const string IllegalOfferMantissaString = "1000000000000000100"
Field Value
Type Description
string
| Edit this page View Source

IsNegative

Declaration
public readonly bool IsNegative
Field Value
Type Description
bool
| Edit this page View Source

Mantissa

Declaration
public readonly ulong Mantissa
Field Value
Type Description
ulong
| Edit this page View Source

MaxExponent

Declaration
public const int MaxExponent = 80
Field Value
Type Description
int
| Edit this page View Source

MaxMantissa

Declaration
public static readonly ulong MaxMantissa
Field Value
Type Description
ulong
| Edit this page View Source

MaxPrecision

Declaration
public const int MaxPrecision = 16
Field Value
Type Description
int
| Edit this page View Source

MinExponent

Declaration
public const int MinExponent = -96
Field Value
Type Description
int
| Edit this page View Source

MinMantissa

Declaration
public static readonly ulong MinMantissa
Field Value
Type Description
ulong
| Edit this page View Source

Precision

Declaration
public readonly int Precision
Field Value
Type Description
int
| Edit this page View Source

ValueRegex

Declaration
public const string ValueRegex = "^([-+])?(\\d+)?(\\.(\\d+))?([eE]([+-]?\\d+))?$"
Field Value
Type Description
string

Properties

| Edit this page View Source

IsIou

Declaration
public override bool IsIou { get; }
Property Value
Type Description
bool
Overrides
AmountValue.IsIou
| Edit this page View Source

IsZero

Declaration
public bool IsZero { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

FromString(string)

Declaration
public static IouValue FromString(string value)
Parameters
Type Name Description
string value
Returns
Type Description
IouValue
| Edit this page View Source

MantissaBytes()

Declaration
public byte[] MantissaBytes()
Returns
Type Description
byte[]
| Edit this page View Source

ToBytes()

Declaration
public override byte[] ToBytes()
Returns
Type Description
byte[]
Overrides
AmountValue.ToBytes()
| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
AmountValue.ToString()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX