pixeldesu / go-base65536

Go library for base65536

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-base65536 GoDoc

Go library for encoding data into base65536.

Examples

Marshaling

package main

import (
	"fmt"
	"github.com/Nightbug/go-base65536"
)

func main() {
	fmt.Println(base65536.Marshal([]byte("hello world")))
}

Unmarshaling

package main

import (
	"fmt"
	"github.com/Nightbug/go-base65536"
)

func main() {
	var out []byte
	err := base65536.Unmarshal([]byte("驨ꍬ啯𒁷ꍲᕤ"), &out)
	if err != nil {
		panic(err)
	}
}

License

MIT

About

Go library for base65536

License:MIT License


Languages

Language:Go 100.0%