benchmark/src/main/java/org/apache/james/mime4j/Base64InputStreamBench.java [94:107]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ContentUtil.copy(in, out);

        compare(data, out.toByteArray());
    }

    private static void compare(byte[] expected, byte[] actual) {
        if (expected.length != actual.length)
            throw new AssertionError("length: " + expected.length + ", "
                    + actual.length);

        for (int i = 0; i < expected.length; i++)
            if (expected[i] != actual[i])
                throw new AssertionError("value @ " + i);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



benchmark/src/main/java/org/apache/james/mime4j/QuotedPrintableInputStreamBench.java [94:107]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ContentUtil.copy(in, out);

        compare(data, out.toByteArray());
    }

    private static void compare(byte[] expected, byte[] actual) {
        if (expected.length != actual.length)
            throw new AssertionError("length: " + expected.length + ", "
                    + actual.length);

        for (int i = 0; i < expected.length; i++)
            if (expected[i] != actual[i])
                throw new AssertionError("value @ " + i);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



