From f8e04400aef9138488fe813b4eb9897f0579bb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sun, 8 Aug 2021 03:45:17 +0800 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index edf6800..f80dead 100644 --- a/README.md +++ b/README.md @@ -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 ... -``` \ No newline at end of file +```