Show / Hide Table of Contents

Class Uint32

Derived UInt class for serializing/deserializing 32 bit UInt

Inheritance
object
Uint<uint>
Uint32
Implements
ISerializedType
Inherited Members
Uint<uint>.Value
Uint<uint>.ToBytes(IBytesSink)
Uint<uint>.ToJson()
Uint<uint>.ToString()
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Uint32 : Uint<uint>, ISerializedType

Constructors

| Edit this page View Source

Uint32(byte)

create instance of this value

Declaration
public Uint32(byte value)
Parameters
Type Name Description
byte value

byte value

| Edit this page View Source

Uint32(uint)

create instance of this value

Declaration
public Uint32(uint value)
Parameters
Type Name Description
uint value

uint value

Methods

| Edit this page View Source

FromJson(JsonNode)

Deserialize Uint32

Declaration
public static Uint32 FromJson(JsonNode token)
Parameters
Type Name Description
JsonNode token

json token

Returns
Type Description
Uint32

Uint32 value

| Edit this page View Source

FromParser(BinaryParser, int?)

Construct a Uint16 from a BinaryParser

Declaration
public static Uint32 FromParser(BinaryParser parser, int? hint = null)
Parameters
Type Name Description
BinaryParser parser

A BinaryParser to read Uint16 from

int? hint
Returns
Type Description
Uint32
| Edit this page View Source

FromValue(int)

create instance of this value

Declaration
public static Uint32 FromValue(int v)
Parameters
Type Name Description
int v

int value

Returns
Type Description
Uint32
| Edit this page View Source

ToBytes()

convert to bytes array

Declaration
public override byte[] ToBytes()
Returns
Type Description
byte[]
Overrides
Uint<uint>.ToBytes()

Operators

| Edit this page View Source

implicit operator Uint32(byte)

create instance of this value

Declaration
public static implicit operator Uint32(byte v)
Parameters
Type Name Description
byte v

byte value

Returns
Type Description
Uint32
| Edit this page View Source

implicit operator Uint32(uint)

create instance of this value

Declaration
public static implicit operator Uint32(uint v)
Parameters
Type Name Description
uint v

uint value

Returns
Type Description
Uint32
| Edit this page View Source

implicit operator uint(Uint32)

create instance of this value

Declaration
public static implicit operator uint(Uint32 v)
Parameters
Type Name Description
Uint32 v

uint value

Returns
Type Description
uint

Implements

ISerializedType

Extension Methods

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