Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Methods_T_Iota_Lib_CSharp_Api_Utils_Converter

saniro edited this page Feb 16, 2017 · 1 revision

Converter Methods

The Converter type exposes the following members.

Methods

 

Name Description
Public methodStatic member CopyTrits(String, Int32[]) Copies the trits from the input string into the destination array
Public methodStatic member CopyTrits(Int64, Int32[], Int32, Int32) Copies the trits in long representation into the destination array
Public methodStatic member GetTrits Gets the trits from the specified bytes and stores it into the provided trits array
Public methodStatic member Increment Increments the specified trits.
Public methodStatic member ToBytes(Int32[]) Converts the specified trits to trytes
Public methodStatic member ToBytes(Int32[], Int32, Int32) Converts the specified trits array to bytes
Public methodStatic member ToLongValue Converts the specified trits to its corresponding integer value
Public methodStatic member ToTrits(String) Converts the specified trinary encoded trytes string to trits
Public methodStatic member ToTrits(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
Public methodStatic member ToTritsString Converts the specified trinary encoded string into trits
Public methodStatic member ToTrytes(Int32[]) Converts the trits array to a trytes string
Public methodStatic member ToTrytes(Int32[], Int32, Int32) Converts the trits array to a trytes string
Public methodStatic member ToTryteValue Converts the specified trits array to trytes in integer representation
Public methodStatic member ToValue Converts the specified trits to its corresponding integer value
  Back to Top

See Also

Reference

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

Clone this wiki locally