[][src]Crate iota_conversion

Modules

iota_units
trytes_converter
unit_converter

Structs

BYTE_TO_TRITS_MAPPINGS

Provides a byte to trits mapping

TRYTE_TO_TRITS_MAPPINGS

Provides a trytes to trits mapping

Functions

char_to_trits

Converts a char into and array of trits

get_trits

Converts a provided slice of bytes into trits and stores them in place into trits

increment

Increments a trit slice in place, only considering trits until index size

long_value

Converts a slice of trits into a numeric value

trits

Converts a numeric representation of trytes into a vec of trits

trits_from_string

Converts a string into trits

trits_from_string_with_length

Converts a string into trits and ensures the output length

trits_to_char

Converts a slice of trits into a char

trits_to_string

Converts a slice of trits into a string

trits_with_length

Converts a numeric representation of trytes into a vec of trits with a guaranteed length

trytes

Converts a slice of trits into a tryte string

value

Converts a slice of trits into a numeric value