/trinary

Trinary converter functions.

Primary LanguageRustApache License 2.0Apache-2.0

About

This library provides certain functions to convert between trits, trytes, tryte strings, ASCII text and signed 64 bit numbers.

Current Features

  • Support for no-std environments where liballoc is available
  • no-checks compile feature if consumer of this library already ensures valid inputs.
  • 9 Trits per 2 Bytes (9/2) byte encoding
  • unit tests for all converter functions
  • benchmarks for all converter functions