Documentation
¶
Index ¶
- func AppendB2R(dst []rune, b []byte) []rune
- func AppendBytesToRunes(dst []rune, p []byte) []rune
- func AppendR2B(dst []byte, r []rune) []byte
- func AppendR2S(buf []byte, r []rune) ([]byte, string)
- func AppendRunesToBytes(dst []byte, r []rune) []byte
- func AppendRunesToString(buf []byte, r []rune) ([]byte, string)
- func AppendS2R(dst []rune, s string) []rune
- func AppendStringToRunes(dst []rune, s string) []rune
- func B2S(b []byte) string
- func BytesToString(b []byte) string
- func S2B(s string) []byte
- func StringToBytes(s string) []byte
- type SliceHeader
- type StringHeader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendBytesToRunes ¶
AppendBytesToRunes converts byte array to runes array.
func AppendRunesToBytes ¶
AppendRunesToBytes converts runes array to bytes array.
func AppendRunesToString ¶
AppendRunesToString converts runes array to string using byte buffer.
func AppendStringToRunes ¶
AppendStringToRunes converts string to runes array.
func BytesToString ¶
BytesToString makes fast conversion of bytes array to string.
func StringToBytes ¶
StringToBytes makes fast conversion of string to bytes sequence.
Types ¶
type SliceHeader ¶ added in v1.0.1
SliceHeader represents deprecated reflect.SliceHeader type.
type StringHeader ¶ added in v1.0.1
StringHeader represents deprecated reflect.StringHeader type.
Click to show internal directories.
Click to hide internal directories.