1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-05 00:32:52 +08:00
Go to file
2021-10-28 14:02:36 +08:00
2021-08-08 00:28:17 +08:00
2021-10-28 14:02:36 +08:00
2021-10-28 14:02:36 +08:00
2021-10-28 14:02:36 +08:00
2021-08-08 11:19:04 +08:00
2021-10-28 14:02:36 +08:00
2021-10-28 14:02:36 +08:00
2021-08-08 00:28:17 +08:00
2021-08-08 11:21:17 +08:00
2021-10-28 14:02:36 +08:00

go-base16384

base16384 interface of golang

Functions

func Encode(b []byte) []byte

Encode b to utf16be.

func Decode(b []byte) []byte

Decode from encoded b.

func UTF16be2utf8(b []byte) ([]byte, error)

Display the result.

func UTF82utf16be(b []byte) ([]byte, error)

Turn the result to its original coding form to decode.

func Free(b []byte)

Free memory allocated by encode / decode.

Usage

As package

Just import it in your project.

As lib

Copy this repo to $GOPATH/src, then execute

go install -buildmode=shared -linkshared std
go install -buildmode=shared -linkshared base14

Now you can use

go build -linkshared ...
Description
base16384 interface of golang
Readme GPL-3.0 92 KiB
Languages
Go 53.1%
Assembly 34.3%
C 12.6%