indicesOf

Finds all occurrences of the given needle byte array within the ByteBuffer.

Return

A list of starting indices for every match found.

Parameters

needle

The byte array sequence to search for.