Class Base64InputStreamBench


  • public class Base64InputStreamBench
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void compare​(byte[] expected, byte[] actual)  
      private static byte[] encode​(byte[] data)  
      private static byte[] initData​(int size)  
      static void main​(java.lang.String[] args)  
      private static void testDecode​(byte[] data, byte[] encoded)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Base64InputStreamBench

        public Base64InputStreamBench()
    • Method Detail

      • main

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

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

        private static byte[] encode​(byte[] data)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testDecode

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

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