Show / Hide Table of Contents

Class Hash256

Hash with a width of 256 bits

Inheritance
object
Hash
Hash256
Implements
ISerializedType
Inherited Members
Hash.Buffer
Hash.ToBytes(IBytesSink)
Hash.ToJson()
Hash.Equals(Hash)
Hash.ToString()
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Hash256 : Hash, ISerializedType

Constructors

| Edit this page View Source

Hash256(byte[])

Defines how to construct Hash from buffer

Declaration
public Hash256(byte[] buffer)
Parameters
Type Name Description
byte[] buffer

bytes buffer

Fields

| Edit this page View Source

Zero

Declaration
public static readonly Hash256 Zero
Field Value
Type Description
Hash256

Methods

| Edit this page View Source

FromHex(string)

create instance from hex string

Declaration
public static Hash256 FromHex(string token)
Parameters
Type Name Description
string token

string hex token

Returns
Type Description
Hash256
| Edit this page View Source

FromJson(JsonNode)

create instance from json object

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

json object

Returns
Type Description
Hash256
| Edit this page View Source

FromParser(BinaryParser, int?)

create instance from binary parser

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

parser

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

Nibblet(int)

Declaration
public int Nibblet(int depth)
Parameters
Type Name Description
int depth
Returns
Type Description
int

Implements

ISerializedType

Extension Methods

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