1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-21 19:48:08 +08:00
This commit is contained in:
fumiama
2021-08-08 11:19:56 +08:00

View File

@@ -1,15 +1,15 @@
# go-base16384 # go-base16384
base16384 interface of golang base16384 interface of golang
# Functions ## Functions
## func Encode(b []byte) []byte ### func Encode(b []byte) []byte
Encode b to utf16be. Encode b to utf16be.
## func Decode(b []byte) []byte ### func Decode(b []byte) []byte
Decode from encoded b. Decode from encoded b.
## func UTF16be2utf8(b []byte) ([]byte, error) ### func UTF16be2utf8(b []byte) ([]byte, error)
Display the result. Display the result.
## func UTF82utf16be(b []byte) ([]byte, error) ### func UTF82utf16be(b []byte) ([]byte, error)
Turn the result to its original coding form to decode. Turn the result to its original coding form to decode.
# Usage # Usage
@@ -24,4 +24,4 @@ go install -buildmode=shared -linkshared base14
Now you can use Now you can use
```bash ```bash
go build -linkshared ... go build -linkshared ...
``` ```