M_Iota_Lib_CSharp_Api_Utils_Converter_ToTrits_1 - iotaledger-archive/iota.lib.csharp GitHub Wiki
Converts the specified trinary encoded string into a trits array of the specified length. If the trytes string results in a shorter then specified trits array, then the remainder is padded we zeroes
Namespace: Iota.Lib.CSharp.Api.Utils
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)
C#
public static int[] ToTrits(
string trytes,
int length
)
- trytes
- Type: System.String
The trytes. - length
- Type: System.Int32
The length.
Type: Int32[]
a trits array
Converter Class
ToTrits Overload
Iota.Lib.CSharp.Api.Utils Namespace