Struct Nonce
An arbitrary
Namespace: Libplanet
Assembly: Libplanet.dll
Syntax
public struct Nonce
Constructors
| Improve this Doc View SourceNonce(Byte[])
Converts a
This constructor is an inverse function of
To
Declaration
public Nonce(byte[] nonce)
Parameters
See Also
Properties
| Improve this Doc View SourceByteArray
A bare immutable
Declaration
public ImmutableArray<byte> ByteArray { get; }
Property Value
Type | Description |
---|---|
Immutable |
Remarks
It is immutable. For a mutable array, use
To
See Also
Methods
| Improve this Doc View SourceToByteArray()
Gets a bare mutable
Declaration
public byte[] ToByteArray()
Returns
Type | Description |
---|---|
Byte[] | A new mutable |
See Also
| Improve this Doc View SourceToString()
Gets a hexadecimal representation of a Nonce.
Declaration
public override string ToString()
Returns
Operators
| Improve this Doc View SourceEquality(Nonce, Nonce)
Declaration
public static bool operator ==(Nonce left, Nonce right)
Parameters
Returns
Type | Description |
---|---|
Boolean |
Inequality(Nonce, Nonce)
Declaration
public static bool operator !=(Nonce left, Nonce right)
Parameters
Returns
Type | Description |
---|---|
Boolean |