Documentation ¶
Overview ¶
Package ascii implements a ternary encoding ASCII strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeTrytes ¶
DecodeTrytes returns the ASCII string represented by the encoded trytes. DecodeTrytes expects that src contains a valid ascii encoding and that in has even length, it returns an error otherwise. If src does not contain trytes, the behavior of DecodeTrytes is undefined.
func EncodeToTrytes ¶
EncodeToTrytes returns the encoding of ASCII string src converted into trytes. If src is not a valid ASCII string, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.