[][src]Module bee_ternary::convert

Conversions between to and from standard types.

Enums

Error

An error that may be produced during numeric conversion.

Functions

signed_int_trits

Produce an iterator over the Btrits that make up a given integer.

trits_to_int

Attempt to convert the given trit slice into a number. If the numeric representation of the trit slice is too large or small to fit the numeric type, or does not contain any trits, an error will be returned.

unsigned_int_trits

Produce an iterator over the Utrits that make up a given integer.