Class Hash256
Hash with a width of 256 bits
Inheritance
object
Hash256
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
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
|
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
|
Edit this page
View Source
FromParser(BinaryParser, int?)
create instance from binary parser
Declaration
public static Hash256 FromParser(BinaryParser parser, int? hint = null)
Parameters
Returns
|
Edit this page
View Source
Nibblet(int)
Declaration
public int Nibblet(int depth)
Parameters
| Type |
Name |
Description |
| int |
depth |
|
Returns
Implements
Extension Methods