Documentation
¶
Overview ¶
Package byteslice contains functions for working with byte slices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexAll ¶
IndexAll returns a list of all indexes of occurrences of the given sub-slice in the parent byte slice.
func IndexAllPartial ¶
IndexAllPartial is a helper function that returns results of both IndexAll and PartialIndex in one call.
func PartialIndex ¶
PartialIndex returns the index of the first occurrence of a partial match in the end of the buffer. If there is no partial match, -1 is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.