# Functions
IndexAll returns a list of all indexes of occurrences of the given sub-slice in the parent byte slice.
IndexAllPartial is a helper function that returns results of both IndexAll and PartialIndex in one call.
PartialIndex returns the index of the first occurrence of a partial match in the end of the buffer.