Home

Awesome

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