public static byte[][] split(byte[] source, byte[] separator) {
        return split(source, separator, -1);
    }
Splits the source array into multiple array segments using the given separator, up to a
maximum of count items. This will naturally produce copied byte arrays for each of the split
segments. To identify the split ranges without the array copies, see {@link
ByteUtil#splitRanges(byte[], byte[])}.
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/ByteUtil.java