Crate iota_conversion

Source
Expand description

Trinary and unit conversion traits and methods

Modules§

iota_units
Provides useful unit definitions for Iota
trytes_converter
Converts between strings and tryte-encoded strings
unit_converter
Provides converters between various unit representations of Iota

Structs§

BYTE_TO_TRITS_MAPPINGS
Provides a byte to trits mapping
TRYTE_TO_TRITS_MAPPINGS
Provides a trytes to trits mapping

Traits§

Trinary
Trait used to enable conversion to trinary types

Functions§

long_value
Converts a slice of trits into a numeric value in i64
trytes
Temporary usage to convert trits to tryte strings
value
Converts a slice of trits into a numeric value

Type Aliases§

Trit
Type alias for i8
Trytes
Type alias for String