Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountString ¶ added in v0.8.10
func Index ¶ added in v0.8.10
Index returns the index of the first instance of b in a, or -1 if b is not present in a. Requires 2 <= len(b) <= MaxLen.
func IndexByteString ¶
func IndexString ¶ added in v0.8.10
IndexString returns the index of the first instance of b in a, or -1 if b is not present in a. Requires 2 <= len(b) <= MaxLen.
func MakeNoZero ¶ added in v0.8.10
MakeNoZero makes a slice of length and capacity n without zeroing the bytes. It is the caller's responsibility to ensure uninitialized bytes do not leak to the end user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.