1
0
mirror of https://github.com/fumiama/go-base16384.git synced 2026-06-05 00:32:52 +08:00

Update README.md

This commit is contained in:
源文雨
2021-08-08 03:45:17 +08:00
committed by GitHub
parent c4a5495cbd
commit f8e04400ae

View File

@@ -1,21 +1,21 @@
# go-base16384
base16384 interface of golang
# Functions
## Functions
## func Encode(b []byte) []byte
### func Encode(b []byte) []byte
Encode b to utf16be.
## func Decode(b []byte) []byte
### func Decode(b []byte) []byte
Decode from encoded b.
## func UTF16be2utf8(b []byte) ([]byte, error)
### func UTF16be2utf8(b []byte) ([]byte, error)
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.
# Usage
## As package
## Usage
### As package
Just include it in your project.
## As lib
### As lib
Copy this repo to `$GOPATH/src`, then execute
```bash
go install -buildmode=shared -linkshared std
@@ -24,4 +24,4 @@ go install -buildmode=shared -linkshared base14
Now you can use
```bash
go build -linkshared ...
```
```