Documentation ¶
Overview ¶
Package base14 base16384 的 go 接口
Index ¶
- func BytesToString(b []byte) string
- func Decode(b []byte) (decd []byte)
- func DecodeFromString(s string) []byte
- func DecodeLen(in, offset int) (out int)
- func DecodeString(s string) string
- func DecodeTo(b []byte, decd []byte) (int, error)
- func DecodeToString(d []byte) string
- func Encode(b []byte) (encd []byte)
- func EncodeFromString(s string) []byte
- func EncodeLen(in int) (out int)
- func EncodeString(s string) string
- func EncodeTo(b, encd []byte) (int, error)
- func EncodeToString(b []byte) string
- func StringToBytes(s string) (b []byte)
- func UTF16BE2UTF8(b []byte) ([]byte, error)
- func UTF82UTF16BE(b []byte) ([]byte, error)
- type Decoder
- type Encoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFromString ¶ added in v1.5.0
func DecodeString ¶ added in v1.2.0
func DecodeToString ¶ added in v1.4.0
func EncodeFromString ¶ added in v1.4.0
func EncodeString ¶ added in v1.2.0
func EncodeToString ¶ added in v1.5.0
func StringToBytes ¶ added in v1.3.0
StringToBytes 没有内存开销的转换
func UTF16BE2UTF8 ¶ added in v1.4.0
UTF16BE2UTF8 to display the result as string
func UTF82UTF16BE ¶ added in v1.4.0
UTF82UTF16BE to decode from string
Types ¶
type Decoder ¶ added in v1.4.0
func NewBufferedDecoder ¶ added in v1.4.0
func NewDecoder ¶ added in v1.4.0
type Encoder ¶ added in v1.4.0
func NewBufferedEncoder ¶ added in v1.4.0
func NewEncoder ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.