Documentation
¶
Index ¶
- func Bytes(v string) []byte
- func BytesBasic(str string) []byte
- func BytesReflect(v string) []byte
- func Int64ToString(v int64) string
- func IntToString(v int) string
- func String(v []byte) string
- func StringBasic(bytes []byte) string
- func StringReflect(v []byte) string
- func StringToInt(v string) int
- func StringToInt64(v string) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesBasic ¶ added in v1.2.0
Bytes converts a string into a slice of bytes without performing a copy. NOTE: This is an unsafe operation and may lead to problems if the bytes are changed.
func BytesReflect ¶ added in v1.2.0
func Int64ToString ¶ added in v1.1.0
func IntToString ¶ added in v1.1.0
func StringBasic ¶ added in v1.2.0
String converts a slice of bytes into a string without performing a copy. NOTE: This is an unsafe operation and may lead to problems if the bytes passed as argument are changed while the string is used. No checking whether bytes are valid UTF-8 data is performed.
func StringReflect ¶ added in v1.2.0
func StringToInt ¶ added in v1.1.0
func StringToInt64 ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.