Class Utils
Inheritance
object
Utils
Namespace: Xrpl.AddressCodec
Assembly: Xrpl.AddressCodec.dll
Syntax
public static class Utils
Methods
| Edit this page View SourceCombine(params byte[][])
combine bytes arrays to single array
Declaration
public static byte[] Combine(params byte[][] arrays)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[][] | arrays | bytes arrays |
Returns
| Type | Description |
|---|---|
| byte[] |
FromBytesToHex(byte[])
from bytes array to hex row
Declaration
public static string FromBytesToHex(this byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | bytes | bytes array |
Returns
| Type | Description |
|---|---|
| string |
FromHexToBytes(string)
hex row to bytes array
Declaration
public static byte[] FromHexToBytes(this string hex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hex | hex row |
Returns
| Type | Description |
|---|---|
| byte[] |