M_Iota_Lib_CSharp_Api_Utils_Converter_ToTrits_1 - iotaledger-archive/iota.lib.csharp GitHub Wiki

Converter.ToTrits Method (String, Int32)

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)

Syntax

C#

public static int[] ToTrits(
	string trytes,
	int length
)

Parameters

 

trytes
Type: System.String
The trytes.
length
Type: System.Int32
The length.

Return Value

Type: Int32[]
a trits array

See Also

Reference

Converter Class
ToTrits Overload
Iota.Lib.CSharp.Api.Utils Namespace

⚠️ **GitHub.com Fallback** ⚠️