Show / Hide Table of Contents

Class Uint<T>

Base class for serializing and deserializing unsigned integers.

Inheritance
object
Uint<T>
Uint16
Uint32
Uint64
Uint8
Implements
ISerializedType
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public abstract class Uint<T> : ISerializedType where T : struct, IConvertible
Type Parameters
Name Description
T

Constructors

| Edit this page View Source

Uint(T)

create instance of this integer value

Declaration
protected Uint(T value)
Parameters
Type Name Description
T value

Fields

| Edit this page View Source

Value

integers value

Declaration
public readonly T Value
Field Value
Type Description
T

Methods

| Edit this page View Source

ToBytes()

convert to bytes array

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

ToBytes(IBytesSink)

to bytes Sink

Declaration
public void ToBytes(IBytesSink sink)
Parameters
Type Name Description
IBytesSink sink

bytes Sink container

| Edit this page View Source

ToJson()

Get the JSON representation of this type

Declaration
public virtual JsonNode ToJson()
Returns
Type Description
JsonNode
| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

ISerializedType

Extension Methods

StExtensions.ToDebuggedHex(ISerializedType)
StExtensions.ToHex(ISerializedType)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX