package
module
Version:
v0.0.0-...-98730a0
Opens a new window with list of versions in this module.
Published: Feb 5, 2016
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-base65536
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
Documentation
¶
Marshal returns the base65536 encoded version of data.
Unmarshal appends to out the bytes decoded from data. It can return an error,
in case the decoding failed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.