str

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: GPL-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btos added in v0.0.4

func Btos(b []byte) string

[]byte 转 string

func BytetoStr

func BytetoStr(b []byte) string

[]byte 转 string

func RandText

func RandText(str string) string

乱序输出字符串

func RandText2

func RandText2(str string, number int) string

乱序输出字符串

func Stob added in v0.0.4

func Stob(str string) []byte

string 转 []byte

func StrtoByte

func StrtoByte(str string) []byte

string 转 []byte

func StrtoU

func StrtoU(s string) string

string 转 unicode

func Strtob

func Strtob(s string) (b []byte)

string 转 []byte

func Utostr

func Utostr(s string) (string, error)

unicode 转 string 输入 > `"\u7a0b\u5e8f"` <

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL