Most IOTA libraries (at least C#, and Java) have a Converter
, that has a getTrits
method.
public static void GetTrits(
sbyte[] bytes,
int[] trits
)
It has two arrays as parameters. The input, bytes
, and the output, trits
. How can I compute the length of the necessary trits
array for arbitrary length bytes?