@SafeVarargs
    public static byte[] removeAll(final byte[] a, final byte... elements) {
        if (N.isNullOrEmpty(a)) {
            return N.EMPTY_BYTE_ARRAY;
        } else if (N.isNullOrEmpty(elements)) {
            return a.clone();
        } else if (elements.length == 1) {
            return removeAllOccurrences(a, elements[0]);
        }

        final ByteList list = ByteList.of(a.clone());
        list.removeAll(ByteList.of(elements));
        return list.trimToSize().array();
    }
@ SafeVarargs public static byte [ ] removeAll ( final byte [ ] a , final byte ... elements ) { if ( N . isNullOrEmpty ( a ) ) { return N . EMPTY_BYTE_ARRAY ; } else if ( N . isNullOrEmpty ( elements ) ) { return a . clone ( ) ; } else if ( elements . length == 1 ) { return removeAllOccurrences ( a , elements [ 0 ] ) ; } final ByteList list = ByteList . of ( a . clone ( ) ) ; list . removeAll ( ByteList . of ( elements ) ) ; return list . trimToSize ( ) . array ( ) ; }
Returns a new array with removes all the occurrences of specified elements from <code>a</code>

@param a
@param elements
@return
@see Collection#removeAll(Collection)