Documentation
¶
Index ¶
- Variables
- func BytesToTrits(bytes []byte) []int
- func BytesToTrytes(bytes []byte) string
- func CharCodeAt(s string, n int) rune
- func IntToTrits(value *big.Int, padding int) []int
- func IsTrytes(trytes string, length int) bool
- func TritsToBytes(trits []int) []byte
- func TritsToInt(trits []int) *big.Int
- func TritsToTrytes(trits []int) string
- func TrytesToBytes(trytes string) []byte
- func TrytesToTrits(trytes string) (trits []int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BYTES_TO_TRITS = []int{} /* 1215 elements not displayed */ THREE = big.NewInt(3) ONE = big.NewInt(1) )
View Source
var (
TRYTES = "NOPQRSTUVWXYZ9ABCDEFGHIJKLM"
)
Functions ¶
func BytesToTrits ¶
func BytesToTrytes ¶
func CharCodeAt ¶
func TritsToBytes ¶
func TritsToInt ¶
func TritsToTrytes ¶
func TrytesToBytes ¶
func TrytesToTrits ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.