Class Base64InputStreamBench

java.lang.Object
org.apache.james.mime4j.Base64InputStreamBench

public class Base64InputStreamBench extends Object
  • Constructor Details

    • Base64InputStreamBench

      public Base64InputStreamBench()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • initData

      private static byte[] initData(int size)
    • encode

      private static byte[] encode(byte[] data) throws IOException
      Throws:
      IOException
    • testDecode

      private static void testDecode(byte[] data, byte[] encoded) throws IOException
      Throws:
      IOException
    • compare

      private static void compare(byte[] expected, byte[] actual)