removePrefixes

Remove all prefixes from ByteBuffer whatever their order. It slices ByteBuffer so it does not copy data.

Once a prefix is found, it is removed from the prefixes list.

Return

ByteBuffer without prefixes

Parameters

prefixes

List of ByteBuffer to remove