File: example_test.go

package info (click to toggle)
golang-github-tv42-zbase32 0.0~git20160707.5015726-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: sh: 13; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 178 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package zbase32_test

import "fmt"
import "github.com/tv42/zbase32"

func Example() {
	s := zbase32.EncodeToString([]byte{240, 191, 199})
	fmt.Println(s)
	// Output:
	// 6n9hq
}