Class Encoder


  • public class Encoder
    extends Object
    • Method Detail

      • encode

        public static String encode​(byte[] bytes)
      • decode

        public static byte[] decode​(String s)
      • encodeBase64

        public static String encodeBase64​(byte[] bytes)
      • decodeBase64

        public static byte[] decodeBase64​(String s)
      • encodeHttp64

        public static String encodeHttp64​(byte[] bytes,
                                          int compressThreshold)
      • decodeHttp64

        public static byte[] decodeHttp64​(String s)
      • compress

        public static byte[] compress​(byte[] in)
      • decompress

        public static byte[] decompress​(byte[] in)