1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-11 13:40:32 +08:00
This commit is contained in:
源文雨
2022-03-19 19:34:32 +08:00
parent 42e4c3cd4b
commit 851f9f8666
8 changed files with 418 additions and 50 deletions

View File

@@ -1,21 +1,6 @@
# go-base16384
base16384 interface of golang
## Functions
### func EncodeString(b string) []byte
Encode string b to utf16be.
### func DecodeString(d []byte) string
Decode to string from encoded b.
### 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.
# Usage
## As package
Just import it in your project.