Documentation ¶
Index ¶
- func Decode(a Str) string
- func DecodeRunes(s Str) []rune
- type Str
- func (s Str) Append(o Str) Str
- func (s Str) Contains(substr Str) bool
- func (s Str) Equal(o Str) bool
- func (s Str) HasPrefix(substr Str) bool
- func (s Str) Index(substr Str) int
- func (s Str) Len() int
- func (s Str) Prepend(o Str) Str
- func (s Str) Runes() []rune
- func (s Str) String() string
- func (s Str) TrimPrefix(substr Str) Str
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRunes ¶
Types ¶
type Str ¶
type Str []uint16
Str is a UTF-16 encoded string
func NewFromRunes ¶
func (Str) TrimPrefix ¶
Click to show internal directories.
Click to hide internal directories.