mirror of
https://github.com/fumiama/go-base16384.git
synced 2026-06-11 21:50:42 +08:00
Update README.md
This commit is contained in:
16
README.md
16
README.md
@@ -1,21 +1,21 @@
|
|||||||
# 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
|
||||||
## As package
|
### As package
|
||||||
Just include it in your project.
|
Just include it in your project.
|
||||||
## As lib
|
### As lib
|
||||||
Copy this repo to `$GOPATH/src`, then execute
|
Copy this repo to `$GOPATH/src`, then execute
|
||||||
```bash
|
```bash
|
||||||
go install -buildmode=shared -linkshared std
|
go install -buildmode=shared -linkshared std
|
||||||
|
|||||||
Reference in New Issue
Block a user