enc

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBytes

func ToBytes(s string) ([]byte, error)

ToBytes returns byte slice from human-readable (base58) string. Calling with empty string returns zero length string error.

func ToString

func ToString(b []byte) string

ToString returns human-readable (base58) string from b. Calling with empty or nil slice returns empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL