iota-ternary
Version:
Fast utility functions for conversion between trytes, trits and bytes
17 lines (10 loc) • 507 B
text/typescript
export { TRYTES, TRITS } from "./constants"
export { trit, tryte, trits, trytes } from "./types"
export { trytesToTrits } from "./trytes-to-trits"
export { trytesToNumber } from "./trytes-to-number"
export { tritsToTrytes } from "./trits-to-trytes"
export { tritsToBytes } from "./trits-to-bytes"
export { tritsToNumber } from "./trits-to-number"
export { bytesToTrits } from "./bytes-to-trits"
export { numberToTrits } from './number-to-trits'
export { numberToTrytes } from './number-to-trytes'