removePrefixes

Remove all prefixes from ByteBuffer whatever their order. It moves the position of the ByteBuffer.

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

Return

ByteBuffer without prefixes

Parameters

prefixes

List of ByteBuffer to remove