private static byte[] getClassByteArray(final JarInputStream jarInputStream) {
        try (ByteArrayOutputStream buffer = new ByteArrayOutputStream()) {
            int data;
            while ((data = jarInputStream.read()) != -1) {
                buffer.write(data);
            }
            buffer.flush();
            return buffer.toByteArray();
        } catch (IOException e) {
            throw new ShenyuException("load jar classes find error");
        }
    }
getClassByteArray.
@param jarInputStream jarInputStream
@return class byte[]
shenyu-web/src/main/java/org/apache/shenyu/web/loader/PluginJarParser.java