Class Uint32
Derived UInt class for serializing/deserializing 32 bit UInt
Implements
Inherited Members
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Uint32 : Uint<uint>, ISerializedType
Constructors
| Edit this page View SourceUint32(byte)
create instance of this value
Declaration
public Uint32(byte value)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | value | byte value |
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 SourceFromJson(JsonNode)
Deserialize Uint32
Declaration
public static Uint32 FromJson(JsonNode token)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | token | json token |
Returns
| Type | Description |
|---|---|
| Uint32 | Uint32 value |
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 |
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 |
ToBytes()
convert to bytes array
Declaration
public override byte[] ToBytes()
Returns
| Type | Description |
|---|---|
| byte[] |
Overrides
Operators
| Edit this page View Sourceimplicit 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 |
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 |
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 |